1.

Solve : file convertion.....?

Answer»

I am new to the DOS world, and I have a question. Is there an application that convers an .exe back to a .bat or something that you can see the codes? I am creating a batch FILE to auto run an application but it's not working correctly due to the fact that the application also call for some other executables. I want to see the codes so that I can include those executables in my batch. Can someone help? ThanksI HEARD that some bat to exe wrappers for batch FILES if you change the .exe to .bat and then use the EDITOR they are raw ascii ... havent confirmed this, but I overheard sort of speak some info on this on the web with one of the free batch to exe wrappers. Give it a try and see.

Some others out there have decompilers to get them back to their .bat form to be read although I would be careful taking this route as for its in territory that could be viral if you find a download for a decompiler.I am having problem calling a batch file inside another batch file. I have TESTED each of them individually and all of them works. Can someone check my codes please. Thanks.

Main batch
==========
@echo off
("C:\Program Files\SI_SCOPE\si_scope32" < si_scope32 /p1:fdf0h /p2:fdf8h /i1:07 /i2:07 /BOARD_TYPE:5 /NOALERT /B:128)
at 1:15PM /call "C:\Program Files\SI_SCOPE\close.bat"
at 1:16PM /call "C:\Program Files\SI_SCOPE\copy.bat"
at 1:17PM /call "C:\Program Files\SI_SCOPE\Hard Fault Captures\RenameFileToDate.bat"
at 1:20PM /call "C:\WINDOWS\reboot.bat"
==========


Close
==========
@echo off
taskkill /im "si_scope32.exe" /f
==========


Copy
==========
@echo off
copy "C:\Program Files\SI_SCOPE\SI_SCOPE.DAT" "C:\Program Files\SI_SCOPE\Hard Fault Captures"
==========


RenameFileToDate
==========
@echo off
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "SI_SCOPE.DAT" %%e-%%f-%%g.dat
==========

Reboot
==========
@echo off
shutdown -r
==========



Discussion

No Comment Found