I want to clear %temp% folder in uipath everytime before robot start executing process.
You can use CMD Command to clear the Temp Folder.
Use Start Process Activity in UiPath,
In the Executable Text Box Type “CMD.exe” and in Argument Text Box Type “/c del /q/f/s %TEMP%*”
Try this Command in CMD.
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255