Remove-FileList
Remove-FileList
Deletes a list of files from any directory. This command works identically to the Remove-File command, but offers more options when specifying the files to be deleted, since entire lists of files from different directories can be deleted. Variables and placeholders are used in the same way. Subdirectories are not included in Remove-FileList, use the Remove-File command instead.
Settings:
- Delete files
Path to the file(s) to be deleted. The use of variables is possible. Use the "..." button to select an existing file oder files (on the packaging system) or enter the path manually. - Delete also files that are in use
This option ensures that files that are locked by Windows are removed the next time the system is restarted. - Use 32-Bit mode on x64 computer
If the script is executed on a 64-bit operating system, the counterpart for 32-bit applications SysWOW64 can be used automatically when referring to the SYSTEM32 directory.
Example:
Deletes the specified files.
Corresponds to DSM eScript command:
- DeleteFileList
See also: