Please use this script to delete the files and folder from the specific path.
Note: This Script run as a "System User"
Input:
del_dir = Provide the specific path which you want to delete.
Example:
del_dir=[drive+r"\Windows\Logs\CBS\CBS.log",drive+r"\Windows\Temp\ccsetup532.exe",drive+r"\Users\Sample\AppData\Local\Temp\spmlogs"]
This Script run as a system User
Comments