This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

VBScript shebang?


Hello,

From time to time, I like use a Windows script file (VBS, JS) with CScript/WSH. Is it possible to execute a script as a command from the Cygwin shell without having to specify the 'interpreter' (CScript)? This would then operate like a Perl or BASH script.

I've tried using a 'shebang' approach like "#!<path>cscript" but the CScript interpreter chokes. If I comment the shebang I get an error from the shell.

Thanks

Simon


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]