Clear %temp% folder using UiPath

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

1 Like

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

4 Likes

Clear Temp Folder.xaml (3.6 KB)

You can use this for your reference.

2 Likes

Hi @Santan_Barnwal,

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

Try this Command in CMD.

rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

2 Likes

Is it like this @Santan_Barnwal?

Hello,
It is not worked for my process. Can you say the easy way - for Clear Folder Value before starting any robot process?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.