Having issues replacing a file using the script below:

Directory: c:\windows\system32
File: cmd.exe

Wait for completion: checked

Parameters:  start /wait xcopy $(KACE_DEPENDENCY_DIR)\configuration.xml "C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Network Access Manager\system\configuration.xml*" /q /y"

Any help will be great
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
Please log in to comment

Answer Chosen by the Author

1
you have extra characters in your post

use for parameters

/c xcopy $(KACE_DEPENDENCY_DIR)\configuration.xml "C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Network Access Manager\system\configuration.xml" /q /y

or

/c move $(KACE_DEPENDENCY_DIR)\configuration.xml "C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Network Access Manager\system\configuration.xml" /y
Answered 07/05/2016 by: SMal.tmcc
Red Belt

Please log in to comment

Answers

Answer this question or Comment on this question for clarity