Different results with TCC than with cmd.exe

Apr 28, 2011
13
0
Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails. When I run the same command in cmd.exe, it succeeds. For the future, I'd like to know what I can do to get TCC to behave like cmd.exe for this command. Thanks, Dan.
 
May 20, 2008
11,415
99
Syracuse, NY, USA
On Sat, 04 Jun 2011 16:38:27 -0400, daniel347x <> wrote:

|Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails. When I run the same command in cmd.exe, it succeeds. For the future, I'd like to know what I can do to get TCC to behave like cmd.exe for this command. Thanks, Dan.

What goes wrong?

Here are the arguments seen by an EXE started by CMD and then (same EXE) started
by TCC. I used an EXE (renamed MVN.EXE) that simply echoes its arguments. It
seems TCC and CMD start the program exactly the same way.

Code:
CMD:

mvn
-X
install:install-file
-DgroupId=org.eclipse
-DartifactId=text
-Dversion=3.5.0
-Dpackaging=jar
-Dfile=P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins
\org.eclipse.text_3.5.0.v20100601-1300.jar

Code:
TCC:

mvn
-X
install:install-file
-DgroupId=org.eclipse
-DartifactId=text
-Dversion=3.5.0
-Dpackaging=jar
-Dfile=P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins
\org.eclipse.text_3.5.0.v20100601-1300.jar
 
Jul 1, 2008
81
0
74
Montreal
Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails.
I wonder if TCC is interpreting a character in the command line, notably the caret. Try the command between back quotes, i.e. `mvn -X ... plugins\`.
--
Peter
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
beerns different results between tcmd and cmd Support 2
dcantor LIST /X and TYPE /X give different results Support 20
Jay Sage Parameter %$ Different in Aliases and BTMa Support 4
R @select inside alias gives different (insanely small) window Support 7
T Date format date different from cmd Support 7
Jesse Heines webform output different in ver. 26 than ver. 25 Support 2
W If command - different with CMD Support 6
vefatica Are @FILEDATE[file] and @FILEDATE[file,u] ever different? Support 2
D Pasting Unicode data has different behavior on TCC and CMD Support 2
J How to? Start TCMD with different configurations Support 3
Glenn Bowes WAD TOOLBAR Button Definations are different v19 to v20 Support 8
M How to? Compare file timestamps accross different file systems... Support 1
deleyd Fixed Behavior different than CMD Support 1
C Screens of different size and hidden console Support 8
Stefano Piccardi TCC 13 vs. TCC 14 different FFIND /E"d$" output Support 1
davidebbo Installing to a different machine Support 27
B Need To Deactivate V12.1 Before Reinstall To Different Directory? Support 3
A Redirecting TCC output to a different RDP Session Support 6
B %ProgramFiles(x86)% returns different values in TCC and CMD Support 3
S MOVE to different drive Support 3
C sharing global histories between different TCMD versions? Support 5
T Different 9.02 TakeCmd.dll inikey files in the oldver directory Support 1
M Tab button to launch as different user Support 1
wbiebel Different versions? Support 1
Timothy Byrd COMSPEC incompatibility - v9 is different than v7 Support 8
F strange results Support 9
vefatica @FILESIZE[] ... allocated ... unexpected results Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
rps @FILESIZE[....,a] allocated size not matching Dir results Support 8
thorntonpg @eval function, interesting results any explanation? Support 3
Steve Pitts WAD @MD5 returns incorrect results for strings Support 2
J WAD utf8decode string only results in ? chars Support 2
rps How to? dir /s unexpected results Support 10
T Associating BTM files with IDE results in DOS box Support 33
M Why does this code produce these results? Support 2
M Why is this function getting these results in these circumstances? Support 6
JohnQSmith WAD Incorrect results from @FILESIZE Support 9
S Trouble accessing results of forum search Support 2
M Unexpected Results from Doing Numeric Comparisons... Support 17
vefatica @SERVICE, unexpected results Support 6
vefatica Strange results with CP 1252 Support 12
T Concatenate echoed text with the results of a grep command? Support 2
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

Similar threads