Skip to content
⌘ NSIS Forum Archive

File /oname with whitespaces

4 posts

mynab#

File /oname with whitespaces

Hello,

I am trying to use the /oname flag of the File command like:

File /oname="word1 word2.ext" file.ext

But I get an error. As soon as I replace the whitespace with an underscore it works OK. I think this should be possible. Can someone give a hint?

Regards,
nabocorp
mynab#
Thanks! It works fine. Not very natural though... You would naturally expect to only surround the filename with quotes and not the whole flag. But anyway!

Thanks again
mynab
Comm@nder21#
hmm, no, coz u're using a script with commands and flags, an not a programming-language.