Opening folder in Explorer from Access

  • Thread starter Thread starter Luc
  • Start date Start date
L

Luc

I open an explorer window on a particular folder from access (using Shell
command or FollowHyperlink). I possibly need to rename the folder. My
problem is that Windows apparently prevents renaming the folder as it
appears to be locked or dependent from Access. Any suggestions as to how to
overcome this problem ?
Thanks in advance.
Luc
 
I don't have any problem renaming a folder that has been opened using
(e.g.)

Shell "explorer.exe ""C:\temp\folder\"""
or
Application.FollowHyperlink "C:\temp\folder"

But if a file in that folder is open (whether by Access or some other
process) you won't be able to move or rename the folder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top