Classic Shell
http://www.classicshell.net/forum/

custom button commands relative to current directory
http://www.classicshell.net/forum/viewtopic.php?f=8&t=4068
Page 1 of 1

Author:  pop1040 [ Tue Dec 30, 2014 6:04 pm ]
Post subject:  custom button commands relative to current directory

So I've been searching around for a while and I have had no luck finding any reference as to how to do it. What I need to do is to add a custom button to the toolbar which executes a command based on the currently viewed directory.
The command I want to run is:
Code:
cmd /K "cd /d <current directory>"


btw, I also noticed while searching how to do this that if you right click in a folder while holding shift there is an option called "Open command window here" which does the same thing

Author:  Ivo [ Tue Dec 30, 2014 9:38 pm ]
Post subject:  Re: custom button commands relative to current directory

Use %1 for the current directory. Look at the "Examples for Custom Commands" section in the help for more info.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/