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 Message-ID: <40163C40.8010803@ganter-griff.de> Date: Tue, 27 Jan 2004 11:24:00 +0100 From: Norbert Wild 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/