Jump to content

Recommended Posts

Posted (edited)

Hi guys and gals

I 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 error

forc[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 :thumbup

Edited by Dreamslayer

Posted

You need to use the quotes better, it should look kinda like this in your wpi window

xcopy "%wpipath%\Install\spybot\Configuration.ini" "%AllUsersProfile%\Application Data\Spybot - Search & Destroy\Configuration.ini"

Posted (edited)
You need to use the quotes better, it should look kinda like this in your wpi window

xcopy "%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 :thumbup

Edited by Dreamslayer

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...