Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 27th January 2004, 08:54   #1
mynab
Junior Member
 
Join Date: Sep 2002
Posts: 19
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 is offline   Reply With Quote
Old 27th January 2004, 09:06   #2
Vytautas
Major Dude
 
Vytautas's Avatar
 
Join Date: May 2003
Location: Victoria, Australia
Posts: 643
Send a message via ICQ to Vytautas
Try this code
code:
File "/oname=word1 word2.ext" file.ext
Vytautas
Vytautas is offline   Reply With Quote
Old 27th January 2004, 09:10   #3
mynab
Junior Member
 
Join Date: Sep 2002
Posts: 19
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
mynab is offline   Reply With Quote
Old 27th January 2004, 12:05   #4
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
hmm, no, coz u're using a script with commands and flags, an not a programming-language.
Comm@nder21 is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump