Jump to content

Recommended Posts

Posted

:D

I cant get this right.

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

  Quote

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

Posted

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.

Posted

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.

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...