windows - Script to run a secure file and then delete it -
i'm trying create script copy secure exe file c directory flash drive assigned drive letter d. run exe, delete exe, shut down pc. have technicians need in order make biometric reader function properly. keep screwing process , automate process save me headache. file secure , cannot leaked our customers due licensing. tried batch script, exe doesn't seem launch correctly.
here's had:
copy "d:\biometric\software.exe" "c:\software.exe" pause pushd c:\ start "c:\software.exe" pause pushd c:\ erase "software.exe" /f /q pause c:\windows\system32\shutdown -s -f -t 00
i've never tried vbscript, , figured maybe might me results need, appreciated.
start
considers first set of quotes finds window's title, have in code says "set window's title 'c:\software.exe' , execute start
command on nothing."
insert set of quotes make start command work.
start "" "c:\software.exe"
Comments
Post a Comment