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 Thu Sep 18, 2025 3:04 am

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  [ 2 posts ] 
Author Message
PostPosted: Tue Dec 30, 2014 6:04 pm 
Offline

Joined: Tue Dec 30, 2014 5:55 pm
Posts: 1
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 30, 2014 9:38 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
Use %1 for the current directory. Look at the "Examples for Custom Commands" section in the help for more info.


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 195 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.