parent
3146221180
commit
98aa2bc885
3 changed files with 6 additions and 7 deletions
@ -1,2 +1,7 @@ |
||||
Set objShell = CreateObject("Wscript.Shell") |
||||
Set fsObject = CreateObject("Scripting.FileSystemObject") |
||||
objShell.Run """" & objShell.ExpandEnvironmentStrings("%SYSTEMDRIVE%") & "\FWSUpdates\bin\on_shutdown.bat" & """", 0, True |
||||
If fsObject.FileExists(objShell.ExpandEnvironmentStrings("%SYSTEMDRIVE%") & "\FWSUpdates\offline_upgrade.bat") Then |
||||
objShell.Run """" & objShell.ExpandEnvironmentStrings("%SYSTEMDRIVE%") & "\FWSUpdates\offline_upgrade.bat" & """", 0, True |
||||
fsObject.DeleteFile(objShell.ExpandEnvironmentStrings("%SYSTEMDRIVE%") & "\FWSUpdates\offline_upgrade.bat") |
||||
End If |
||||
|
Loading…
Reference in new issue