jepboro
10th June 2010 09:45 UTC
'File' command in nsis
I am trying to use this line (copied from a sample), which is supposed to loop around copying files. But I get an error
File /r ".\pythontest\*.*"
with this error message:
File: Returning to: ".\pythontest"
File: ".\pythontest\*.*" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\pythontest_install_script.nsi" on line 111 -- aborting creation process
any ideas?
jpderuiter
10th June 2010 09:56 UTC
Well, obviously it can't find files.
Are you sure there is a 'pythontest' folder where you script is saved?
And are there files in that folder?
jepboro
10th June 2010 23:59 UTC
Yep. Everything is there. No problem. I've given it the full path and it's off and running. Had this same problem with another part of the script. I don't know what's going on but I need to get on and that's what I'm doing.... work around it...
thanks for the help
:)
redxii
11th June 2010 02:15 UTC
Try without the '.\'
File /r "pythontest\*.*"
redxii
11th June 2010 02:17 UTC
( duplicate post )
redxii
11th June 2010 02:22 UTC
( duplicate post )