|
-
Feb 15th, 2002, 09:32 PM
#1
Delete hidden dir
how can I in code delete all the subdir below content.ie5 which is located in the temporary internetfiles dir(hidden)
-
Feb 15th, 2002, 10:05 PM
#2
Registered User
Deltree
Dim cFile As String
Dim cPath As String
cPath = "C:\Windows\Temporary Internet Files\Content.IE5"
cFile = Dir( cPath & "\*.*", vbDirectory + vbHidden + vbSystem )
Do While cFile <> ""
If Left$(cFile, 1) <> "." Then
Shell "Deltree " & cPath & "\" & cFile & " /Y" ' vbHide
End If
Loop
Note: IE must be closed, files cannot be opened.
-
Feb 15th, 2002, 10:41 PM
#3
Another question this app will be used on win98 nt4 and win2k and each has a different path to the temp internet files is there a way to obtain the correct path for each os through an api call?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|