Home > Archive > MS Access Database with External Data > April 2006 > Opening folder in Explorer from Access









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Opening folder in Explorer from Access
Luc

2006-04-05, 11:37 am

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
John Nurick

2006-04-05, 8:28 pm

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.


On Wed, 5 Apr 2006 12:04:03 -0400, Luc <mail@morinip.com> wrote:

>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


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com