Hi, I don't know your use case for cygwin nor do I really use it, but, as it has been pointed out, usually there is a parameter for the file you are working with somewhere in the compiler settings, you may use
%File% = path + name of the active file in PSPad or some combinations of: %Dir% %Name% %Ext% or eventually: %SelText% - the currently selected text in the active editor window. (possibly with or without quotes around the variables) -- <http://forum.pspad.com/read.php?2,45503,45594> PSPad freeware editor http://www.pspad.com
