When you using Shift+Enter on executables inside of archives TC builds incorrect command line and executes it. In fact, TC doubles command line that should be normally executed.
E.g. if I have a file C:\1.bat and I'm using Shift+Enter on it, TC executes following command line:
Code: Select all
NOCLOSE.PIF /C C:\1.bat
Code: Select all
NOCLOSE.PIF /C D:\TEMP\_tc\1.bat NOCLOSE.PIF /C D:\TEMP\_tc\1.bat
You may check it using your own noclose.pif that will show a message box with command line parameters or you may create special batch file for tests and use default TC's noclose.pif.
1.bat contents:
Code: Select all
@echo off
echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
pause
cls
Code: Select all
C:\1.bat
Press any key to continue . . .
Code: Select all
D:\TEMP\_tc\1.bat NOCLOSE.PIF /C D:\TEMP\_tc\1.bat
Press any key to continue . . .
I tried this in 7.04a - all works as expected, it doesn't double string.