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

Re: [Condor-users] Spaces in filename

This would work for me (but I am on windows):
Arguments = "'/file/path/file1 name.ext' '/file/path/file2name.ext'"

I believe the rule is double quotes around all contents of the argument and then single quotes around paths with spaces.This works on windows and since 7.4.x.


From: Sara Rolfe <smrolfe@xxxxxxxxxxxxxxxx>
To: condor-users@xxxxxxxxxxx
Date: 06/24/2011 12:58 PM
Subject: [Condor-users] Spaces in filename
Sent by: condor-users-bounces@xxxxxxxxxxx

Hello, I would like to submit a job where the "Arguments" field  
contains a filename with a space, such as:

Arguments = /file/path/file1 name.ext /file/path/file2name.ext

I have tried many combinations of double quotes, single quotes,  
escaped quotes around /file/path/file1 name.ext, and escaping the  
space, but still get errors when I submit.  I'm not able to modify  
this filename to remove the space.

A similar question was answered here:


The solution was to use double quotes, add a '+' at the start of the  
line to bypass error checking, and change the field, in this case  
"output" to the actual job classad name "out".  I tried double quotes  
with the '+', but I have not been able to find the actual classad name  
for "Arguments".  Any help on this or other solutions would be  

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: