![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting ksh scripts to sh | sherkaner | Shell Programming and Scripting | 11 | 09-28-2007 08:39 AM |
| converting ksh scripts--.bat in window's | 2.5lt V8 | Windows & DOS: Issues & Discussions | 3 | 11-28-2006 04:23 PM |
| Converting Text File into XML using Unix Shell Scripts | Laud12345 | Shell Programming and Scripting | 10 | 02-16-2005 10:35 AM |
| Converting Unix executable files | Steven Greenber | OS X (Apple) | 4 | 02-04-2005 09:58 AM |
| Converting BMP to BM (or other unix format) | EJ =) | UNIX Desktop for Dummies Questions & Answers | 1 | 06-12-2002 05:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Converting UNIX scripts to DOS
Is there a tool available to convert UNIX (BASH Shell) scripts to DOS scripts?
I understand that DOS scripting is far inferior to unix scripting, and therfore this conversion may not be possible. Alternativley, perhaps I could convert my Unix scripts to C... then compile it for a windows environment. Are there any tools to convert unix to C? I currently run UNIX scripts on windows through emulation (using Cygwin). However, my boss wants to do away with this as he believes it unnecessary HELP! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Are you really running dos? Not windows of some kind?
I am not a windows expert, but I now have a notebook with windows xp on it. On xp at least, there are several scripting choices. You are probably thinking of batch files. Another choice is visual basic. Search for files that match *.vbs to see if you have some. Visual basic has a chance at handling those scripts. Forget batch files...there is no hope. I don't know of any automatic converter. This will almost certainly be a rewrite. |
|
#3
|
|||
|
|||
|
unless ur using advanced editing tools like AWK or sed unix scripts should work fine with minor modifications. cause if ur working on GNU environment it won't recognise the awk or sed instead it recognises gawk or gsed.
and windows wont read multiple line on code it should be in single line of code, correct me if I am wrong. |
|||
| Google The UNIX and Linux Forums |