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?
You should put the script as argument for a *NIX shell you run, equivalent to the *NIXish
You can run Bash script like
bash ./script.sh, but keep in mind that C drive is located at
/mnt/c, and external hard drives are not mountable. So you might need to change your script a bit so it is compatible to Windows.
Also, even as
root, you can still get permission denied when moving files around in
/mnt, but you have your full
root power in the
/ file system.