Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: SJ Subject: VBScript shebang? Date: Tue, 22 Jun 2004 08:03:01 +1000 Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 148.182.36.157 User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) 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 "#!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/