Classic Shell development was stopped in December 2017. For now the forum remains online as reference, but is read-only. Registration of new users is disabled.
It is currently Wed Sep 10, 2025 10:16 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat May 17, 2014 4:37 pm 
Offline

Joined: Sat May 17, 2014 4:30 pm
Posts: 2
I'm looking for a way to select a file, such as a setup.exe file and click a custom button that will automatically create a text file of the same name, i.e. setup.txt.

To be clear, if another example was that the file i selected was skype.exe then clicking the custom button would create a text file named skype.txt.

And could work for any file type such as lovesongs.mp3 - the button would create a lovesongs.txt file.

Hope this makes sense please reply if you need more clarification. Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Sun May 18, 2014 1:37 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
For the custom command use this:

cmd /c echo > "%2.txt"

OR

cmd /c type NUL > "%2.txt"

Note that this creates files named Setup.exe.txt, Skype.exe.txt, and Lovesongs.mp3.txt.

I don't know of a way to omit the original file name's extension.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 20, 2014 9:07 pm 
Offline

Joined: Sat May 17, 2014 4:30 pm
Posts: 2
Thanks GauravK,

I like the 2nd example a lot because it creates a text file that is blank.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.