![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Execute a UNIX script from DOS prompt. | er_aparna | Shell Programming and Scripting | 24 | 12-15-2006 04:47 AM |
| Need to execute 2 scripts, wait, execute 2 more wait, till end of file | halo98 | Shell Programming and Scripting | 1 | 08-01-2006 01:42 PM |
| How to execute a .sql file with shell script | abuanas | Shell Programming and Scripting | 2 | 04-26-2006 01:16 AM |
| prompt in sh shell | diegoe | UNIX for Dummies Questions & Answers | 1 | 12-30-2003 11:10 AM |
| No shell prompt? | Mufasa | UNIX for Dummies Questions & Answers | 2 | 02-14-2002 04:31 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
execute shell file on DOS prompt
I have installed cygwin on my computer having windows 2003 server as operating system.
The following command works fine on DOS console: bash launch_update.sh Is there any way, that i could run the above shell file, just by typing its name on DOS prompt, in the same way as batch files are executed. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Nope. The one is a DOS/Windows prompt and the other thing starts a UNIX Bash Shell which starts the shell script. Maybe you can write a batch file like "launch_update.bat" which contains "bash launch_update.bat", if you like that more.
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|