xtremee Posted November 30, 2005 Posted November 30, 2005 Hi all,I wanna to convert my batch file to .exe as i wanna to use it in my startup diski 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 myThanks in advance.Regards,Xtremee
Tomcat76 Posted November 30, 2005 Posted November 30, 2005 You can try ExeScript but I doubt it will work in DOS.
xtremee Posted December 1, 2005 Author Posted December 1, 2005 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
blinkdt Posted December 1, 2005 Posted December 1, 2005 (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 December 2, 2005 by blinkdt
xtremee Posted December 1, 2005 Author Posted December 1, 2005 @linkdt1st thanks for ur excellent reply i will try it Regards,Xtremee
Tomcat76 Posted December 5, 2005 Posted December 5, 2005 BAT2EXEC and C2E can't handle my batch files (too complex?) but maybe it'll work for xtremee.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now