Hack Forums

Full Version: unconvert .exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

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.
pause

many persons probably already know this, i just share it for the people who don't know it.
Very useful.
Um.....you do realise that changing the file extension wont change the file from binary back to batch right? lol
this wont work... Just like doing that the other way around from bat to exe wont work. Doesnt change the language. only the extention
fail, i thought it worked a couple weeks ago. so i just posted it,
Reference URL's