Dreamslayer Posted May 9, 2008 Posted May 9, 2008 (edited) Hi guys and galsI have a simple problem that has made me age 10 years in the last 2 days.I am using the latest version of WPI and am trying to copy a file from the source folder to the allusers installation folder but no matter how I code it it doesnt work and I get a debugger errorforc[pn]=['no'];cmd1[pn]=['"%wpipath%\\Install\\spybot\\spybot.exe /VERYSILENT /NORESTART /AUTOUPDATE"'];cmd2[pn]=['"xcopy %wpipath%\\Install\\spybot\\Configuration.ini c:\\Documents and Settings\\All Users\\Application Data\\Spybot - Search & Destroy\\Configuration.ini"'];The above code is what im trying to use, im sure my old dos knowledge of the copy command is wrong so could someone please help an old dog learn a new trick haha Edited May 9, 2008 by Dreamslayer
ricktendo Posted May 9, 2008 Posted May 9, 2008 You need to use the quotes better, it should look kinda like this in your wpi windowxcopy "%wpipath%\Install\spybot\Configuration.ini" "%AllUsersProfile%\Application Data\Spybot - Search & Destroy\Configuration.ini"
Dreamslayer Posted May 9, 2008 Author Posted May 9, 2008 (edited) You need to use the quotes better, it should look kinda like this in your wpi windowxcopy "%wpipath%\Install\spybot\Configuration.ini" "%AllUsersProfile%\Application Data\Spybot - Search & Destroy\Configuration.ini"Hi thanks for your reply, everything works now. thanks for your help :thumbup Edited May 9, 2008 by Dreamslayer
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now