Clear %temp% folder using UiPath


#1

I want to clear %temp% folder in uipath everytime before robot start executing process.


#2

Hi Rupesh,

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%*”


#3

Clear Temp Folder.xaml (3.6 KB)

You can use this for your reference.


#4

Hi @Santan_Barnwal,

Is there anyway for me to clear browser cache using CMD Command?


#5

Try this Command in CMD.

rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255


#6

Is it like this @Santan_Barnwal?