Command Reference

Delete File on Reboot

Tells Windows to delete a file the next time that the system is rebooted. This is only necessary if you know that the file is in use during the setup process and cannot therefore be removed at that time.

Action ID: 75
Action Category: Reboot

Settings

File to delete

The path and file name of the file that you would like to delete.

Return Values

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 OK

 

1

Failed delete file on reboot command.

Could not set value.
<<File to delete>>

Example

None available.

 

See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab