Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

*.bat conversion

Status
Not open for further replies.
Dec 24, 2001
857
GB
I regularly write batch files to perform tasks ranging from clearing out temp files, to network testing. Anyway, I was wondering, is there any way to convert a batch file to a .com file of maybe a .exe? I have a program called 'bat2exe' which claims it'll convert your batch files to exe files, but in actual fact, it converts them to .com files which don't work. Anyway, if anyone has any ideas on this, it would be appreciated.

Another thing is, I have loads of files which can be used to change text and background colour, advanced listing, advanced choices etc. These are either .coms or .exes, and what I wanted to do was create one file which has all of them in it. The following is some info and an example of the type of thing I'd like to do:

* Got a file called 'be.exe' which changes text and back ground colour. Use commands like 'be sa cyan on blue' to change your batch file to have cyan text on a blue background etc.
* Got a file called 'choice.com' which gives you more options than yes and no. Use commands like 'choice /c:abc /n' which would give the user a choice of a, b or c, but not display their options.

For example, is there a way I can incorporate these two files into one file called test.com\exe and have the commands go 'test be sa cyan on blue' or 'test choice /c:abc /n'?
It would be really useful if I could do this, so any help is appreciated.

Rgds
 
I get to their site, click download, and it seems to be a dead link. I've tried the alternative site it suggests but thats the same.

Shame really because I bet this is exactly what I wanted...ah well
 
PAndersen, do you know anywhere else to get this utility, or do you know of any others that do the same job?

Rgds
 
Not yet, but I clicked the 'Broken Link' at their page to let them know. Hope the address brokenlink@32bit.com exists!
 
hi
i want to know if there is any possiblity to convert a batch file into a exe.Are there any conversion tools required.If so can anybody please tell me..
regards
 
Can anybody help me on this. We have a home agent and she connect to the office via VPN. We have NTServer at the office. Everytime she connects to us she has to double click on the scripts for mapping the drives. My question is....Is there a way to put both the VPN Connection and Mapping drives on the startup?
 
There is a program called iexpress.exe that comes with Windows 2000 Pro. This program packages files into EXE form so they can be run as executables. Try it. Tell me if that is what you are looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top