- Oct
- 19
- 0
While trying to debug a TCMD script, I consistently get an IDE crash as soon as I click on the Start icon. Please note I have added a few commands to the IDE Toolbar, the debugger works fine if there are no customizations to the Toolbar. Is this a bug or intended behavior? TCMD itself was also crashing when I added a few custom commands to its Toolbar, but now I got it to work. Could not find a way to fix the IDE, though.
Unfortunately I cannot attach the screenshots of the problem to this message, I am getting a Server Error message. I am enclosing the BTM script, the GPF file and the file listing of the directory I am using to the bottom of this message. I can send the JPEG of the crash by some other means, if necessary.
I am running Take Command 14.00.29 on 32-Bit Windows 7 Ultimate. The hardware is a Dell Precision 4600 with 4GB of RAM.
===
@Echo Off
SetLocal
For %File In (*.v2i) Do GoSub RenameFile
EndLocal
Quit
:RenameFile
Set FileName=%@Name[%File%]
Set FileExt=%@Ext[%File%]
Set Serial=%@Right[3,%FileName%]
Iff "%@IsDigit[%Serial%]" == "1" Then
Set Len=%@Len[%FileName%]
Set Len=%@Eval[%Len%-3]
Set FileName=%@InStr[0,%Len%,%FileName%]
Set RightMostChar=%@Right[1,%FileName%]
Iff "%RightMostChar%" == "_" Then
Set Len=%@Len[%FileName%]
Set Len=%@Eval[%Len%-1]
Set FileName=%@InStr[0,%Len%,%FileName%]
EndIff
Set FileDate=%@FileDate["%File%",c,4]
Set FileDate=%@Replace[-,.,%FileDate%]
Set FileTime=%@FileTime["%File%",c]
Set FileTime=%@Replace[:,.,%FileTime%]
Set NewFile=%FileName%_%FileDate%-%FileTime%.%FileExt%
Rename %File% %NewFile%
EndIff
Return
===
TCC 14.00.29
Module=C:\Program Files\Take Command\IDE.EXE
Address=0055F368
Exception=C0000005
EAX=01AAF3B0 EBX=00000000 ECX=3B32336D EDX=01AAF3E0
ESI=035C6760 EDI=035C8E88 EBP=01AAF394 ESP=01AAF38C
CS=0000001B DS=00000023 ES=00000023 SS=00000023
Flags=00010202
Stack:
1 : IDE.EXE 0001:0015e368
2 : IDE.EXE 0001:0015f979
3 : IDE.EXE 0001:0000d4bd
===
Directory of J:\Backup\Images\*
2012/07/23 10:58 <DIR> .
2012/07/23 10:58 <DIR> ..
2012/07/23 10:56 898 Rename.btm
2012/07/22 23:13 10,719 RFA.sv2i
2012/07/22 23:11 164,032,660 RFA_Dell Recovery001.v2i
2012/07/22 22:29 11,086,361,890 RFA_Drive C (RFA-Win7-32)001.v2i
===
Unfortunately I cannot attach the screenshots of the problem to this message, I am getting a Server Error message. I am enclosing the BTM script, the GPF file and the file listing of the directory I am using to the bottom of this message. I can send the JPEG of the crash by some other means, if necessary.
I am running Take Command 14.00.29 on 32-Bit Windows 7 Ultimate. The hardware is a Dell Precision 4600 with 4GB of RAM.
===
@Echo Off
SetLocal
For %File In (*.v2i) Do GoSub RenameFile
EndLocal
Quit
:RenameFile
Set FileName=%@Name[%File%]
Set FileExt=%@Ext[%File%]
Set Serial=%@Right[3,%FileName%]
Iff "%@IsDigit[%Serial%]" == "1" Then
Set Len=%@Len[%FileName%]
Set Len=%@Eval[%Len%-3]
Set FileName=%@InStr[0,%Len%,%FileName%]
Set RightMostChar=%@Right[1,%FileName%]
Iff "%RightMostChar%" == "_" Then
Set Len=%@Len[%FileName%]
Set Len=%@Eval[%Len%-1]
Set FileName=%@InStr[0,%Len%,%FileName%]
EndIff
Set FileDate=%@FileDate["%File%",c,4]
Set FileDate=%@Replace[-,.,%FileDate%]
Set FileTime=%@FileTime["%File%",c]
Set FileTime=%@Replace[:,.,%FileTime%]
Set NewFile=%FileName%_%FileDate%-%FileTime%.%FileExt%
Rename %File% %NewFile%
EndIff
Return
===
TCC 14.00.29
Module=C:\Program Files\Take Command\IDE.EXE
Address=0055F368
Exception=C0000005
EAX=01AAF3B0 EBX=00000000 ECX=3B32336D EDX=01AAF3E0
ESI=035C6760 EDI=035C8E88 EBP=01AAF394 ESP=01AAF38C
CS=0000001B DS=00000023 ES=00000023 SS=00000023
Flags=00010202
Stack:
1 : IDE.EXE 0001:0015e368
2 : IDE.EXE 0001:0015f979
3 : IDE.EXE 0001:0000d4bd
===
Directory of J:\Backup\Images\*
2012/07/23 10:58 <DIR> .
2012/07/23 10:58 <DIR> ..
2012/07/23 10:56 898 Rename.btm
2012/07/22 23:13 10,719 RFA.sv2i
2012/07/22 23:11 164,032,660 RFA_Dell Recovery001.v2i
2012/07/22 22:29 11,086,361,890 RFA_Drive C (RFA-Win7-32)001.v2i
===