Change folder TCC starts in

Jan 25, 2011
35
0
Hello -

I am using Take Command v. 15 in Windows 7. I cannot find any way of changing the folder given at the prompt when Take Command starts. There seem to be both a TCMD.INI file and also TCSTART.BAT file can be made. I tried making a TCSTART.BAT file and putting "cd C:\myfolder" in it, with no effect. I would have thought this would be simple.

Regards

John Sampson
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,466
88
Albuquerque, NM
prospero.unm.edu
How are you starting Take Command? Through an icon? If so, right-click on the icon and select Properties; then check out the "Start in" field (on the Shortcut tab).

I don't know why TCSTART isn't working for you, but that probably isn't the best place to change directories. TCSTART is run every time TCC starts, including transient and pipe shells.... (Also remember that CD only changes the current directory, not the current drive.)
 
May 20, 2008
3,515
4
Elkridge, MD, USA
How do you start TCC.EXE? If you start it with a desktop shortcut, it has a "directory" option, which you can modify with TCC's own SHORTCUT command (it actually rebuilds the .LNK file), or the UIstaff plugin's MKSC command (which can just modify that one item). If you start it by having programmed a tab in TCMD, it also has a dialog entry to specify TCC's start directory. Using TCC's own START command has the /D option. The start directory has to be passed to Windows before it starts TCC. TCSTART is too late, TCC is already running. Furthermore, if TCC is run in a pipe, nearly always you want it to start in the same directory as the left side of the pipe, not switch to a specific one.
 
Similar threads
Thread starter Title Forum Replies Date
R History window wrong size, can't remember size change Support 12
H Behavior change re piping a string to a Java program Support 1
Alpengreis [FORUM] After change the font, bold is without effect Support 7
R How to? Change TCMD tab font size in window menu Support 3
E How to change window title tcmd window - not tcc window Support 1
Alpengreis Small things to change in installer and after installed Everything Support 0
Charles Dye File completion change Support 11
T Change language in script Support 4
Jay Sage Change in Behavior of Activate Command Support 4
I Change value of a variable while debugging Support 3
T Change language after installation Support 4
WadeHatler Fixed Breaking change in Expression evaluation (.and.) in v17 Support 6
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
Peter Bratton Change in scrput behaviour Support 4
A How to? Can't change directory ("cd") into system hidden files Support 13
vefatica A small change Support 7
ehab aboudaya How to? change ALT-F6 to another key Support 1
S How to? Change thread prefix? Easy "create thread" method? Support 8
S Terminology change Support 2
Peter Bratton @ping behavior change Support 2
T signaling firstcondition and cannot change colors Support 8
newbie Change percent-sign to anything-else in filename Support 24
nikbackm Change format of DIR totals Support 3
Stefano Piccardi did the forum software change in the last two days? Support 2
nikbackm LocalHistory change Support 3
fishman@panix.com 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
D How to? Pass OpenHere Folder to CMD? Support 6
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

Similar threads