This is the mail archive of the
cygwin
mailing list for the Cygwin project.
VBScript shebang?
- From: SJ <simon dot jackson at didata dot com dot au>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Jun 2004 08:03:01 +1000
- Subject: 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/