13.0.31 2 MKLINK TCC vs CMD issues

May 31, 2008
382
2
Two issues:
1. TCC MKLINK sets error level 1 while it should be 0. Bug?
2. TCC MKLINK without /D creates a folder link while it should be a file link for compatibility with CMD.
HTML:
[C:\temp]ver & mkdir aaa

TCC LE  13.01.31   Windows 7 [Version 6.1.7601]

[C:\temp]mklink ttt aaa & echo %_?
Symbolic link created for ttt <<===>> aaa
1

[C:\temp]mklink uuu aaa || echo ERROR
Symbolic link created for uuu <<===>> aaa
ERROR
  • right click ttt and select Properties; note Target Type = File Folder
  • help file says: /D Create a directory symbolic link. (The default is to create a file symbolic link.)
HTML:
[C:\temp]cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2010 Microsoft Corporation.  All rights reserved.

C:\temp>mklink vvv aaa || echo ERROR
symbolic link created for vvv <<===>> aaa
  • right click vvv and select Properties; note Target Type = File
 
May 31, 2008
382
2
No, I didn't want a file link to a directory. And I didn't realize that creating one is a Microsoft bug. Maybe someone could actually use such a device.
 
Similar threads
Thread starter Title Forum Replies Date
Stefano Piccardi Issue: MKLINK /J creates invalid link [TCC 14.03.53] Support 4
Joe Caverly MKLINK and Streams and DEL Support 4
B MKLINK requires admin - fails silently. Support 1
Stefano Piccardi Fixed mklink /X junction\ Support 3
samintz Fixed GPF from MKLINK Support 1
fpefpe Fixed MKLINK Support 2
J WAD MKLINK File symlinks are absolute Support 7
J WAD MKLINK & XP Support 4
Stefano Piccardi WAD MKLINK CMD compatibility, MKLINK /X Support 6
Stefano Piccardi Fixed MKLINK /D Support 4
David McClelland MKLINK /x discrepancy Support 0
R No Error Message when running mklink as limited user Support 3
W mklink and Volume Shadow Copies Support 5
N mklnk / mklink problem Support 7
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
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
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4

Similar threads