PC Review


Reply
Thread Tools Rate Thread

How to check for the existence of the Temporary folder namedTemporary Folder 1,2 and so on As

 
 
Yuvraj
Guest
Posts: n/a
 
      3rd May 2009
Hi All,

I am using the below code:

FSO.deletefolder Environ("Temp") & "\Temporary Directory*", True
Set FSO = CreateObject("scripting.filesystemobject")
FSO.DeleteFolder Environ("Temp") & "\Temporary Directory*", True

Problem is that I want to check for the existence for the Temporary
Directory* means Temporary Diectory a and b ans so on, can i check for
the existence of folder before deleting as the name here is not fixed.

Regards,

Yuvraj
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check for the existence of the Temporary folder namedTemporary Folder a , 2 and so on before deleting as the name is not fixed Yuvraj Microsoft Excel Programming 1 3rd May 2009 09:41 PM
OLK7 Folder not visible under Temporary Internet Files folder Natelle Microsoft Outlook Discussion 5 23rd Mar 2009 02:44 PM
Temporary Internet Files folder not showing the OLK6 sub-folder? Hari Windows XP General 3 30th Sep 2007 10:10 PM
Re: WinXP Home and temporary internet files folder and content.ie5 folder ICU Windows XP General 22 22nd Sep 2006 05:52 PM
Temporary Internet Files folder and Download Assembly cache folder Jack Wright Microsoft Dot NET Framework Forms 1 11th Oct 2004 11:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 AM.