View unsolved topics
View unanswered posts | View active topics
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.
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
bigbry2k3
|
Posted: Sat May 17, 2014 4:37 pm |
|
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 |
|
 |
Gaurav
|
Posted: Sun May 18, 2014 1:37 am |
|
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 |
|
 |
bigbry2k3
|
Posted: Tue May 20, 2014 9:07 pm |
|
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 |
|
 |
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 43 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
|