-1

I have no real clue about linux, but need a simple script to copy what I manually do 1. Open Cygwin 2. Type a directory name (micros) 3. Type a command (reload)

That's it...I just can't get it to work. anyone have a

1 Answers1

1

Given you have cygwin installed in c:\cygwin you can do something link this

c:\cygwin\bin\bash.exe --login -i -c 'cd "/cygdrive/c/pathtofolder"; reload'

A quick search on this forum points you to this question where John T give this same answer. Credit goes to him.

Hope it helps