Jump to content
Macro Express Forums
Sign in to follow this  
cldcp00

Macro To Find File on PC

Recommended Posts

Hi There,

 

Is it possible to have a macro that will use the will search the pc for a filename which is in the clipboard and if found open the containing folder?

 

Thanks in advance for any help

Share this post


Link to post
Share on other sites
// Perform steps to search the computer. For example... 
Text Type (Simulate Keystrokes): <CONTROL><ESC> // Call up the Start menu. The search box has keyboard focus
  
// Paste the contents of the clipboard in the Search box. The search begins immediately
Clipboard Paste

 

Share this post


Link to post
Share on other sites

You can do this using MEP's file and folder commands. Iteratively search down though all folders.

Why don't you just search from the command prompt using the Directory command? It's super simple. from the root of the drive E.G."C:\" type "dir myfile.doc /s". The  "s" switch searches subdirectories. Run it as an administrator in order to see files in sensitive areas. You can direct the output to a file if you like also. 

You could also use the External Script facility in MEP. 

Share this post


Link to post
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...
Sign in to follow this  

×
×
  • Create New...