Sign in to follow this  
Followers 0
ghettochild

Running A @comspec Xcopy With A Variable Source

4 posts in this topic

:D

I cant get this right.

BTW the $servershareinstall is in the "[driveletter]:\" format.

Runwait(@ComSpec & " /c" & " xcopy " & $servershareinstall & "\NCK Computer Management Server Edition\Virus Software\Stinger.exe c:\NCK Computer Management Client Edition\Virus Software\")

Share this post


Link to post
Share on other sites



Try...

Runwait(@ComSpec & ' /c xcopy "' & $servershareinstall & '\NCK Computer Management Server Edition\Virus Software\Stinger.exe" "c:\NCK Computer Management Client Edition\Virus Software\"')

I changed to ' as the outer quote and added some " around the path's so that they should be processed correctly.

Share this post


Link to post
Share on other sites

maybe this would work for ya as well

filecopy($servershareinstall & "\NCK Computer Management Server Edition\Virus Software\Stinger.exe", "c:\NCK Computer Management Client Edition\Virus Software\Stinger.exe")

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0