thetrystero
New Member
- Joined
- Sep 12, 2008
- Messages
- 3
hello, i'd like to run a batch file in cygwin. my script is:
Sub test()
Shell "c:\cygwin\bin\bash /K c:\test.bat", vbNormalFocus
End Sub
but this doesn't work. the cygwin window opens then immediately closes without running the batch. (and no, i can't run test.bat in cmd.exe because it contains lots of unixy goodies like sed etc.).
any ideas?
Sub test()
Shell "c:\cygwin\bin\bash /K c:\test.bat", vbNormalFocus
End Sub
but this doesn't work. the cygwin window opens then immediately closes without running the batch. (and no, i can't run test.bat in cmd.exe because it contains lots of unixy goodies like sed etc.).
any ideas?