run cygwin bash script from notepad++

I'm using Notepad++ to edit my BASH scripts and using CYGWIN to run them from Windows7.

In Notepad++ there is a 'Run' capability. How do I get this to run my scripts directly without having to enter the script name from the Cygwin command line?

Okay I assume that run there works like the run Windows provides:

 c:\cygwin\bin\bash -- login "c:\myscript.sh"

Note:
bash will not like Windows carriage returns in your script. Be sure to have notepad++ save the file as a UNIX file.

where exactly do i enter this? when i select 'run' in notepad++ i can set the directory but how do i select the file? the login part does not open it.

Try to get your script working from the Start->run menu first. Use Windows syntax

bash has to have a complete path to the file /somefolder/script.sh

Use a forward slash, I put a backward slash - my bad.

The windows drives are /cygdrive/c /cygdrive/d ... /cygdrive/z Assuming you have a Z: drive, but you get the idea.

So if your script is in

 c:\someplace\anotherplace\myscript.sh

then full path is

/cygdrive/c/someplace/another/myscript.sh