(imported topic written by ken@gracenote91)
BigFix Action Script “Copy” command… does it have an “overwrite” switch ?
I dont see one in the manual.
My fixlet contains:
copy "\\Gnfile1\public_install\CertFix\certutil.exe" "C:\Windows\system32\certutil.exe"
It fails when run on a pc that already has that file.
I tried running that from the command prompt and found that it gave me the prompt:
Overwrite C:\Windows\system32\certutil.exe? (Yes/No/All):
I then added the switch /Y and ran it at the command prompt and it worked fine.
But when I modified my action script with the /Y , it still failed :
Failed copy “\Gnfile1\public_install\CertFix\certutil.exe” “C:\Windows\system32\certutil.exe” /Y