views:

952

answers:

1

In cygwin, I could just do ./script.sh args, but this opens the script file in notepad in PowerShell.

What do I need to do have it execute?

+4  A: 

You should put the script as argument for a *NIX shell you run, equivalent to the *NIXish

sh myscriptfile
TheBonsai
sh ./script.sh works.
wsorenson