How to? Pass OpenHere Folder to CMD?

Feb 15, 2012
I regularly use the right-click "TCMD prompt here" in my file manager. I have TCMD configured to also open a tab with the Windows CMD prompt. I can't figure out how to get CMD to start in the OpenHere folder. It always just defaults to C:\.

How can I pass the OpenHere folder to CMD?
Jun 2, 2008
cmd(dot)exe /s /k pushd "%V" what's in the registry for Shift+Right clicking a drive or directory. Note I used (dot) for . because the forum throws an error.
Jun 2, 2008
Scratch that. Heh No parameters needed. You have CMD configured as a tab in the Tabs tab of TCMD's options, correct? This works for me. Click CMD in the App section and leave the Directory field empty so CMD uses the same working directory as TCMD.

Feb 15, 2012
Oh, good grief. I figured it out. I had just re-setup an AutoExec.cmd file for CMD in the registry (to load an ANSI driver, set the prompt, etc). AutoExec was finishing off in C:\.
Nov 2, 2008
If the "Directory" box is filled in, it will use that, rather than the current directory. This applies to the right-click menu too.
Similar threads
Thread starter Title Forum Replies Date
D Can alias pass parameters to for command? Support 3
vefatica PSHELL: How pass arguments to script? Support 15
M Backquoted parameters used in GoSub don't pass string as a single parameter Support 2
A Unable to pass batch file arguments unaltered Support 18
samintz How to? Pass a structure to @WINAPI Support 1
Mordachai How to pass URL to sendmail? Support 10
A How to? Pass output from ffind to another command in a BTM file Support 5
J How to pass a character like " " to a function Support 3
Emilio III Control characters pass through? Support 6 Startup Folder? Support 3
C writing folder names with JPSoft special chars like &...... Support 4
R How to? Set default application in a special folder Support 4
R How to? Open Take Command at current folder Support 7
Chen Touboul When i try to delete an empty folder i got "the dirctoy name is invalid" Support 3
C How to bypass UAC warning when shortcut in \Startup folder ? Support 9
CWBillow Clearing out the Windows Temp folder Support 2
J directory or folder to start in Support 2
vefatica Refresh a folder in File Explorer? Support 0
P How to? Delete subfolders but not the folder itself Support 11
vefatica Shortcut/start-up folder nonsense Support 20
cgunhouse Crash on View/Folder Support 1
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
D Version 18 changed the naming convention of TC's folder Support 5
C How to? COPY ftp folder query Support 7
fpefpe How to? folder / explorer window Support 10
rps Documentation Folder combo box docs Support 1
J Startup folder Support 6
C DEL, connected Web folder, report Support 1
T How to? Adding TCC to startup folder Support 6
jbanaszczyk TCMD 16 Install - download folder Support 2
I How to? Save and restore folder timestamps Support 22
gschizas How to? How can I use select with a folder that already contains parentheses? Support 7
C Suggestions for Compare Folder Tree routine Support 5
J Change folder TCC starts in Support 2
gschizas Installation folder for TCMD x64 15.1 is wrong Support 5
D Folder/List view changed in v15 Support 8
C Startup folder not working on v15 Support 6
N WAD Take Command and UNCs for Folder List Support 10
M Sync folder/list view with command window? Support 2
aedthuio Folder with space char Support 6
fpefpe How to? Plugin Folder Support 1
vefatica New desktop and StartUp folder? Support 4
M Folder View Freezing Support 10
CWBillow Make a folder named Date-Time Support 18
C Problem navigating folder view Support 11
vefatica OT:Explain Win7's "start menu" folder? Support 17
CWBillow Sync Folder Tree and Command Window? Support 11
L Thanks from larryalk was Cannot apply Start in folder for Tcmd Support 11
L Cannot apply Start In folder for Tcmd Support 15
J Find Files - changing folder Support 1

Similar threads