Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
pl help to do the removal of temporary files in Windows by one click

What I have tried:

I tried with below code & it shows the temp file but unable to delete the same

Dim df As String

On Error Resume Next
df = Environ$("TEMP")
Shell("explorer " & df, vbNormalFocus)
Posted
Updated 9-Sep-17 1:47am
Comments
Graeme_Grant 9-Sep-17 7:32am    
Why are you asking so many questions? These are simple questions that can be answered by Google search. We are not here to write the code for you.

1 solution

You are rapidly acquiring a reputation as a Help Vampire: you do not seem to be capable of doing anything for yourself, or even of googling for how to do it.

See here: LMGTFY[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900