Jump to content
Macro Express Forums

Delete File in unknown folder


Rick T

Recommended Posts

Hi,

 

I'm trying to write a macro that will seek and delete multiple instances of the same file stored in folders and subfolders of unknown name.

 

The filename is 'Report.xsl' and the top folder name is 'Store'. There are two levels of subfolders, the first level being named by date created and the second level by five digit non-sequential numbers (basically random). It is the second level subfolders that contain the 'Report.xsl file.

 

I'm aware that I can use wildcards with filenames but is it possible to use something similar with folders?

 

Any help with this problem would be gratefully received.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...