1.

Solve : batch to exe - work in unix??

Answer»

Hello,

I have written a system of batch files that works well in my windows system.
I WOULD like to make it available to my friends that use unix system like Linux.
I have found a PROGRAM that convert batch files to executable com file, and my question is: if I convert my batches to executables, will they work on unix SYSTEMS?

Thx.what's the name of the program that you use to convert your batch to executables..?
IMO, best way is to convert DOS to shell scripts is by hand.I can use BATLITE or BAT2EXE.
Of course, I could translate my batches from Dos to Unix by hand,
but this is a lot of work, and could introduce bugs.

Coqu.well, these PROGRAMS seems to convert bat to exe or com, which can only be run in windows environment. AFAIK, they will not run in unix. To run exe/com programs in unix, you can use an emulator...eg Wine.
I had the same problems as you while i was still an administrator. Sometimes i need to convert DOS batch to unix shell scripts...until the day i felt that it's enough. So i decided to use a portable scripting language that i can write scripts to run on both Windows and unix.
Anyway.. i do not think converting by hand will introduce more bugs than conversion with a third party tool. TRUE its a lot of work, but only you will know the logic of your scripts..the tools will not know...



Discussion

No Comment Found