CMD, TCC, VisualStudio 2017, VcVars* differences

May 30, 2008
14
0
I am setting up a new laptop at a new job and encountered a discrepancy between CMD and TCC.

The attached 7z file contains dumps of the environment variables before and after running vcvars32.bat. The environment variables that have different values are:
FrameworkDir,
INCLUDE,
LIB,
LIBPATH,
PATH,
UCRTVersion,
WindowsLibPath,
WindowsSDKLibVersion,
WindowsSdkVerBinPath,
WindowsSdkVerBinPath

My system information is: Microsoft Windows 10 Pro (Version 10.0.16299 Build 16299), TCC 22.00.42 x64, Microsoft Visual Studio Community 2017 (Version 15.7.1; VisualStudio.15.Release/15.7.1+27703.2000).


Any suggestions on how to handle this or what to look at?
 

Attachments

  • Difs.7z
    2.1 KB · Views: 106

rconn

Administrator
Staff member
May 14, 2008
12,404
152
I tried this with an almost identical setup (except I'm using VS 15.7.2 and Windows 10 Build 17677), and I cannot reproduce your results. The only differences I get are a result of the TCC-only environment variables (like CMDLINE).

If I had to guess, I'd say you probably turned off some CMD compatibility settings in your TCMD.INI. Try it without loading your TCMD.INI and see if you get the same results.
 
Similar threads
Thread starter Title Forum Replies Date
L FTYPE in TCC, less quirky than in cmd.exe Support 3
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
E TCC/CMD difference Support 5
R Difference between TCC and CMD: variable names with hyphens Support 4
M WAD "Pictures" directory is empty in TCC but not in CMD or Explorer Support 4
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
Joe Caverly Using this CMD technique from TCC Support 17
I how to make TCC default/replace cmd.exe? Support 9
R FOR usage error from TCC but not from CMD Support 16
I findstr works in cmd but not in tcc Support 5
D Pasting Unicode data has different behavior on TCC and CMD Support 2
M Command line parsing differences between cmd.exe and TCC Support 6
Joe Caverly Works with CMD.EXE, no output with TCC.EXE Support 7
D Does TCC improve CMD's implementation of ECHO? Support 6
P Labels in batch files: TCC vs CMD.exe Support 9
T WAD Difference between TCC and CMD in handling multi-command lines Support 6
C Nested IF syntax — TCC behaving differently to CMD Support 12
P Fixed Rexx .cmd files no longer work in TCC 20 Support 3
TT's Help! Uninstalling TCC did not restore cmd.exe as Win10 default batch file processor. Support 4
vefatica START, CMD vs. TCC Support 0
jogi Problem with FOR statement in TCC but not M$ CMD Support 1
vefatica SET /A "var%=N", TCC vs. CMD Support 0
noahcoad WAD cmd.exe under tcc doesn't find apps Support 4
tmaynard WAD Leiningen broken with TCC (but OK with CMD) Support 12
W /g option (%) on MOVE cmd appears broken TCC 14.03.57 x64 Support 8
B TCC 14.02.37 CMD Compatibility Loss? Support 4
noahcoad c:/hello.txt works in cmd.exe but not tcc.exe Support 1
noahcoad Fixed tcc /k not emulating cmd.exe w double quotes Support 1
Stefano Piccardi 13.0.31 2 MKLINK TCC vs CMD issues Support 2
daniel347x Different results with TCC than with cmd.exe Support 2
CWBillow TCC and CMD / BAT files Support 3
B %ProgramFiles(x86)% returns different values in TCC and CMD Support 3
D Peculiar symptoms w/ 4NT, TCC/LE vis a vis CMD.EXE Support 11
J Happy CMD/TCC incompatibility Support 0
L How to synthesize cmd.exe's DEL /Q Support 2
T WAD CMD incompatibility Support 14
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
Peter Murschall Single-line Do-CMD is a bit uncooperative. Support 6
T Date format date different from cmd Support 7
S How to? Deinstalling TC/reinstating execution of bat files by cmd in Win7 Support 31
D How to? Pass OpenHere Folder to CMD? Support 6
rps Cmd history recall Support 4
rps Documentation TITLE cmd docs Support 0
Joe Caverly PUSHD with UNC path in CMD.EXE Support 2
W If command - different with CMD Support 6
Joe Caverly tcommand(cmd) Support 13
L WAD ECHO. expansion of non-existent env-vars differs from CMD.exe Support 6
Joe Caverly "Functions" in cmd.exe batch files Support 6

Similar threads