File
Overview
- The File command accesses PowerPro's internal file manipulation commands for manipulating files.
Actions
-
CommandRandom
- Runs a command with a randomly selected file as a parameter.
-
Copy
- Makes a copy of a file to the specified path.
-
CopyRandom
- Copies a randomly selected file to a specified file path.
-
Delete
- Deletes a file, or group of files.
-
DeleteNoRecycle
- Completely deletes a file or group of files, bypassing the recycle bin.
-
DeleteOld
- Deletes files in folder older than specified number of days
-
ExtChange
- Change, add, or remove a file extension.
-
Move
- Moves a file or files to another location, effectively renaming it to the new path.
-
Rename
- Renames a file or files, effectively moving it to the new path.
-
RunRandom
- Selects a file at random from a folder & runs it using the program associated with the file extension.
See Also
- Exec.ToFile() for writing to a file
- PPSR > Built-in Commands > Exec > ToFile
- The File plugin:
- PPSR > Plugins > The Plugins > File