Searches and cleans temporary SAS files.
CAUTION: |
Any <module
name>.PID.DATE.log files in the AppData\Roaming\SAS\LOGS directory
that a user wants to save should be relocated to another directory.
|
CAUTION: |
Cleanwork
searches and deletes _TD#### directories. The user should verify that
no third-party applications use the same template for directories
before running the cleanwork utility.
|
Cleans SAS log files in current users AppData\Roaming\SAS\LOGS directory.
Cleans all users AppData\Roaming\SAS\LOGS directories.
specifies the volume to search for removal of SAS directories
Cleans all SAS directories in the specified directory(s) where dir(s) are Windows or UNC paths to one or more directories.
Lists files to be deleted. This option does not delete files or folders.
Shows a trace of the program's activity.
cleanwork /d c:\Temp
Cleans all SAS Work and Utility directories located in the c:\Temp directory hierarchy.
cleanwork /d c:\Temp /userlog
Cleans all SAS Work and Utility directories located in the c:\Temp directory hierarchy and all log files in the \AppData\Roaming\SAS\LOGS directory.
cleanwork /v c: u:
Cleans all SAS Work and Utility directories located on the c: and u: volumes.
cleanwork /alllogs
Scans all users for a SAS\LOGS directory and cleans all log files found. This option will require administrator privileges to remove other users’ files.
cleanwork /d c:\Temp /list
List all SAS Work and Utility directories located in the c:\Temp directory hierarchy to be deleted.
cleanwork /v c: >cleanwork.log
Cleans all SAS Work and Utility directories located on the c: volume and dumps the output to the file cleanwork.log instead of printing it out to the screen.