06-28-2008, 09:32 AM
oké let's say you finally made the long batch you've been working for like 30 minutes, you convert it to .exe but you realize that you still had to change this and this,simply use this batch to unconvert it:
many persons probably already know this, i just share it for the people who don't know it.
Code:
@echo off
echo batch/exe name:
set /p name=
ren %name%.exe %name%.bat
cls
if exist %name%.bat goto yeah
if exist %name%.exe goto fail
exit
:fail
echo you failed
pause
exit
:yeah
echo it worked.
pausemany persons probably already know this, i just share it for the people who don't know it.