Jump to content

Recommended Posts

Posted

Hi all,

I wanna to convert my batch file to .exe as i wanna to use it in my startup disk

i try Quick.Batch.File.Compiler.v2 but it don't work in my start up disk

If any one know ang good program that can make my batch work in Real DOs plz told my

Thanks in advance.

Regards,

Xtremee


Posted

Hi Tomcat76,

1st thanks for ur reply

"ExeScript but I doubt it will work in DOS."

I go to ur link and find that

"OS: Windows 95/98/ME/NT/2000/XP/2003 Server" so i don't think it will work on dos

Regards,

Xtremee

Posted (edited)

Yes, Quick Batch File Compiler proved frustrating for me as well, as it did not work correctly in a true DOS environment. But several free utilities are available that can get the job done. Grab them HERE. BAT2EXEC and C2E convert a batch file to a .COM format and then to a .EXE format, respectively.

After unzipping the downloaded file, open Windows Explorer and click on the Batch File Utilities folder in the left window pane to display its contents in the right window pane.

--Copy your batch file to the folder so that it is clearly visible in the right window pane together with the conversion tools.

--Right-click on the Batch File Utilities folder and select the Open Command Windows Here option from the menu (use a registry setting or the CmdHerePowertoy Windows XP Power Toy to add an "Open Command Windows Here" context menu option to file system folders if necessary).

--Convert the batch file to a .COM format first by typing "bat2exec yourfilename.bat" and hitting the Enter key. You should see a "yourfilename.com" file appear in the right window pane.

--Now convert the .COM file to an .EXE format by typing "C2E yourfilename.com" and hitting the Enter key. You should see a "yourfilename.exe" file appear in the right window pane. Very cool.

Edit: the two utilities were provided by PC Magazine, if I recall correctly.

Edited by blinkdt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...