Computing.Net > Forums > Windows XP > convert a batch file to exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

convert a batch file to exe

Reply to Message Icon

Name: Sam van Dongen
Date: January 5, 2003 at 10:58:38 Pacific
OS: XP
CPU/Ram: 1600 / 512
Comment:

I need to convert my very simple batch file to an exe program
it's very easy, i have only this in the batch file:
c:/Sierra/counter-strike/cstrike.exe -console
that needs to get in a cstrike.exe file

thanx allot in advance



Sponsored Link
Ads by Google

Response Number 1
Name: DisposableHero
Date: January 5, 2003 at 11:47:53 Pacific
Reply:

Why must you have an exe instead of a batch file? To make an EXE file, get a language compiler, such as C++ or Visual Basic, write the source code (which is alot more complex than "c:/Sierra/counter-strike/cstrike.exe -console") and compile it. You have to write into the source code to tell the program to use it as a command, not just to execute Counter Strike. If you want to go thru all the trouble of researching it etc, and take an hour or so to do it, then fine! But I recommend sticking with the Batch file.



0

Response Number 2
Name: DisposableHero
Date: January 5, 2003 at 12:07:12 Pacific
Reply:

I also forgot to mention, you can make a shortcut on your desktop or shortcut with the c:/Sierra/counter-strike/cstrike.exe -console command, and it will run fine..


0

Response Number 3
Name: Ryan
Date: January 5, 2003 at 13:33:14 Pacific
Reply:

There is allso a dos based program called bat2exe.com that can do what you want.


0

Response Number 4
Name:
Date: January 5, 2003 at 16:11:27 Pacific
Reply:

yeah, i was about to mention about the bat2exe

converting it to exe will cause more overhead...so it'll be slow (you have to run a program to run a program). plus the original program will take up memory while waiting for the subprogram to be finished)


1

Response Number 5
Name: Kenny Dee
Date: January 5, 2003 at 18:29:15 Pacific
Reply:

I use WinBatch. This works best for my needs.

Cheers.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: convert a batch file to exe

URGENT: I need a batch file to ping www.computing.net/answers/windows-xp/urgent-i-need-a-batch-file-to-ping/146816.html

Converting a batch file www.computing.net/answers/windows-xp/converting-a-batch-file/106491.html

batch file to connect ... www.computing.net/answers/windows-xp/batch-file-to-connect-/152750.html