UVK scripting commands - <ReplaceFile> and <SReplaceFile>

Show menu

<ReplaceFile> and <SReplaceFile>

These modes can be used to replace a file with another file. If the file is locked, it will be replaced on reboot. The first given file doesn't have to exist, meaning these commands can also be used to copy files.

The difference between these two modes is that <ReplaceFile> moves the destination file to the recycle bin before replacing it, while <SReplaceFile> deletes the file permanently.

Syntax:

<ReplaceFile>

File to be replaced (destination file) | File to replace with (source file).

Example:

<SReplaceFile>

%SystemDir%\urlmon.dll | %SystemDir%\dllcache\urlmon.dll

Note: The separator must absolutely be " | " (a vertical bar with a white space in each side).

 

Back to the list

 


 

Matched content by Google

Copyright Carifred © 2010 - 2022, all rights reserved.

Scroll to top