delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <40163C40.8010803@ganter-griff.de> |
Date: | Tue, 27 Jan 2004 11:24:00 +0100 |
From: | Norbert Wild <nwil AT ganter-griff DOT de> |
Reply-To: | nwil AT ganter-griff DOT de |
Organization: | Otto Ganter GmbH & Co. KG |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | commandline expansion problems |
Hi, I am trying to use a commandline "bemcmd" tool from VERITAS "Backup Exec" To show how bash is executing the command i set the runtime parameter -xv $ set -xv when i run the command in the bash shell i get the error message "Invalid or missing command line parameter." $ ./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r ./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r + ./bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r Invalid or missing command line parameter. Return value:-1 when i execute the dos shell "cmd" and call the same command everithing works fine $ cmd c:\Programme\VERITAS\Backup Exec\NT>bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r Job ID:{8FB15F0E-BD27-4DFB-8E2A-5B61127ADF1E} Return value:1 when i try to run the command in the dos shell as it was expanded by the bash shell i get the same error message $cmd c:\Programme\VERITAS\Backup Exec\NT>bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r Invalid or missing command line parameter. Return value:-1 is there a way to control the commandline expansion of the bash shell? Greetings Norbert -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |