[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] submit file double quoting issue

Hi Rita – just a thought.

Have you tried enclosing the entire argument string in quotes without the escape characters?

  arguments = “c:\data\program.pl -i c:\data\largedataset.dat --point=2014-01-01 01:00:00"



Best regards,





Don Krieger, Ph.D.

Department of Neurological Surgery

University of Pittsburgh


From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Rita
Sent: Thursday, August 27, 2015 11:36 AM
To: HTCondor-Users Mail List
Subject: [HTCondor-users] submit file double quoting issue


I have a windows bat script (tw.bat) like this,




perl %*



When I run my code manually on the windows server I run it like this


x:\sub\tw.bat c:\data\program.pl -i c:\data\largedataset.dat --point="2014-01-01 01:00:00"





And my submit file is like this,

Universe = vanilla

executable = x:\sub\tw.bat

arguments = c:\data\program.pl -i c:\data\largedataset.dat --point=\"2014-01-01 01:00:00\"



it submits fine! But I get this error in my error file

The filename, directory name, or volume label syntax is incorrect.


I have tried many variations but all seem to fail or have condor_submit complain about double quoting/escaping


Any ideas?





--- Get your facts first, then you can distort them as you please.--