![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cygwin | Usha Shastri | UNIX for Dummies Questions & Answers | 1 | 03-09-2009 11:04 AM |
| Cygwin X | fulgura | UNIX for Dummies Questions & Answers | 7 | 01-05-2008 09:34 PM |
| Cygwin | sam71 | UNIX for Dummies Questions & Answers | 1 | 05-06-2005 03:35 PM |
| Cygwin | sam71 | UNIX for Dummies Questions & Answers | 0 | 05-05-2005 09:34 PM |
| about cygwin | wins1982 | UNIX for Dummies Questions & Answers | 4 | 04-29-2004 01:15 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Run cygwin in .bat file
Hello everyone, I've written quite a few AWK scripts to run in cygwin and now, I would like to run them one after the other in a .bat file. The problem is, I tried modifying the .bat file used to run cygwin in the first place, but whenever I change something, it doesn't work. The PATH is set up correctly if you wonder... I've read some posts on this forum and elsewhere, but everything I tried didn't work. First I need to change directory, but when I use cd, it says "No such file or directory". Even when in the command prompt I type "c:\cygwin\bin\bash awk" (for example), it says /usr/bin/awk: No such file or directory... Here is a bat file I use that doesn't work... Code:
@echo off C: chdir C:\cygwin\bin bash --login -i 'cd /cygdrive/m/qc' If you have any idea, please tell me! Thank you. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|