thatrenowned
MIS
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
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