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.
 
Back
Top