Wierd startup.

Feb 21, 2009
124
0
O.K. 27.00.17 and 27.00.18 are now installing for me. Not sure what I did beyond rebooting for other reasons several times. But I am still having a problem at startup. As part of my 4start.cmd I have the line "prompt `%@lower[%_disk]`:$g" and I expect the prompt to wind up as "c:>", but instead I am getting "[C:4NT12]". If I enter 4start<cr>, the prompt becomes the proper "c:>". All the rest of the .cmd file seems to get executed properly (alias and path and some other setup sort of stuff) but that prompt is wrong and I don't know where the 4NT12 comes from. The directory for my current TakeCommand installation is 4NT13. Oh, I only use TCC, not TakeCommand. Directories 4NT10, 4NT11, 4NT12, and 4NT13 are all on the disk, but only 4NT13 is currently used. What is going on?

Harvey
 
Feb 21, 2009
124
0
I am not sure what you mean. My 4start.cmd is

@echo off
prompt `%@lower[%_disk]`:$g
path=%path%;c:\Program Files\GnuWin32\bin;c:\bin;c:\epsilon\bin;c:\c700\bin;c:\ztw;d:\jlblink\bltools;c:\bat;d:\nethack;c:\Borland\Bcc55;
alias /r c:\4nt10\alias1.doc
f:\tclock\clock64.exe
set cdpath=0
set pathext=.exe;.btm;.bat;.cmd;.vbs;.js;.ws;.rex;.rexx;.pl;.rb;.py;.tcl;.pdf

set .pdf = "C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe"



rem set vcscfg=c:\bin\vcs.cfg
rem set bixprn=0
rem set bldir=d:\jlblink

Most of that was built when I first started using 4dos, thirty years ago or so, and I have not read the instruction manual since then. It HAS grown a bit.

Harvey
 
May 20, 2008
11,379
98
Syracuse, NY, USA
If you "echo %_TCSTART" it will echo the name of the startup file that it used. It may not be the one you think.
 
Feb 21, 2009
124
0
Hmm. Initially, it replied

c:>echo %_tcstart
ECHO is OFF

Then when I turned on ECHO, it replied

c:>ECHO %_TCSTART
ECHO
ECHO is ON

What am I doing wrong???????

Harvey
 
May 20, 2008
11,379
98
Syracuse, NY, USA
Hmm. Initially, it replied

c:>echo %_tcstart
ECHO is OFF

Then when I turned on ECHO, it replied

c:>ECHO %_TCSTART
ECHO
ECHO is ON

What am I doing wrong???????

Harvey
You're not doing anything wrong. It just means that TCC didn't find a startup file. I don't think the name "4start..." works these days. Try Charles's suggestion; rename it TCSTART.BTM.
 
Feb 21, 2009
124
0
Call me an idiot!!!!!!!!!!!!!! When I built 4nt13, 4start.cmd did not get copied over from 4nt12. So there was no initialization file at all. Once I copied 4start.cmd from 4nt12, everything started working. Sorry for exercising you!!! So 4start.cmd still seems to work. It dates from 1990 or so, so I really hate to get rid of it, purely for old time's sake. Thanks guys!!!!!!

Harvey
 
Similar threads
Thread starter Title Forum Replies Date
fishman@panix.com V23 cdd /s doing WIERD things. Support 5
M Wierd problem wih "for" command... Support 2
B Wierd install problem for TCMD 10 Support 4
fishman@panix.com Startup Folder? Support 3
D Documentation Help "Startup" page does not describe global lists Support 0
fpefpe startup switches Support 2
fishman@panix.com Problem at Startup of TCC Support 3
C How to bypass UAC warning when shortcut in \Startup folder ? Support 9
C Control Everything CPU usage at startup? Support 7
D Envar _tcexit has value, even with /IX startup parameter Support 0
Phileosophos Startup tab layout Support 2
Robert Kantor Startup Defaults Support 7
D new startup tabs Support 12
J TCC at Windows Startup Support 11
Mike Applebee SHRALIAS crashes on startup Support 2
E How to? Load Alias File on Startup Support 3
R V19 - At startup, TCC save directory in the directory history list Support 2
Glenn Bowes Strange text at startup Support 5
D Documentation TCC | Configuration | Conf dialog | Startup Support 0
J TCMD 18 Startup Support 3
J Startup folder Support 6
tmaynard How to? Any way to run a command in a new tab at startup? Support 18
T How to? Adding TCC to startup folder Support 6
B How to? Pre-set _tcfolder on startup when Folders is set Auto-Hide Support 6
C Startup folder not working on v15 Support 6
greyfairer Very slow startup since last Windows 7 Update (14.03.59 x64) Support 9
7 TCC startup crash in Windows 8 Pro x64 Support 20
K Take Command startup problem Support 7
vefatica New desktop and StartUp folder? Support 4
vefatica Wrong startup file? Support 1
J Take Command Slooow Startup Support 1
F Click a .btm file with "TCC Startup Options" in effect. Support 8
B TCC Startup Error Support 12
mikea TCC v12 startup questions Support 15
L A little startup help from an old CLI guy please. Support 14
M Running a batch file at Windows startup... Support 8
Patulus TCC 11.00.39 hangs on startup Support 5
T Access violation upon TC startup Support 2
jcalcote Apache Maven startup batch file issues Support 3
fishman@panix.com New startup problem... Support 10
CWBillow TCMD 10 and Startup Tabs Support 10
L Very long startup times - solved for me Support 15
deleyd Speed up startup of TCMD? Support 2
S Startup/Shutdown order of events for TCC Support 6
R Don't wake up external drives on startup Support 2
S TCC V9 startup option documentation Support 3
T Open & Configure multiple TCC windows on STARTUP Support 4

Similar threads