sgtbaker
2nd January 2002 20:42 UTC
Filename with spaces for /oname=?
When trying to specify a File with /oname= i have the output file with a space in the name (i.e. "some file.exe") and it fails to compile (the input file has a space in it too, but that seems to be fine). as soon as i take out the space, it works. Is there a way to get it to make an output file with a space?
rainwater
2nd January 2002 20:47 UTC
This should work:
StrCpy $0 "$TEMP\some file.txt"
File /oname=$0 "my file.txt"
It seams you can't use quotes when using the /oname tag. I guess this is a bug.
sgtbaker
2nd January 2002 20:52 UTC
Ahh, great. I shoulda thought of that!
Thanks a bunch!
pesky bugs ;)
kichik
2nd January 2002 21:24 UTC
You should quote the entire thing, not just the file name.
Example:
File "/oname=asd asd asd asd.exe" "myprog.exe"
KiCHiK