May 9, 200818 yr 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, 200818 yr by Dreamslayer
May 9, 200818 yr 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"
May 9, 200818 yr Author 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, 200818 yr by Dreamslayer
Create an account or sign in to comment