Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlink to folder and prevent being able to move to another folder

Status
Not open for further replies.

naoaja

Technical User
Aug 27, 2004
48
US
When I create a hyperlink to a folder, for example:

"../altered/boo" , it will take me there, but it also lets me hit the folder up button and then I can pretty much go anywhere from there.
Is there a way that I could go to that folder, see the contents there, enter any subfolders that might be in that folder, but NOT be able to go 'above' the original folder? Information in the folders are considered confidential. I don't want someone to bypass having to go thru the database to move to other folders.

Thanks,
 
You may try something like this:
CreateObject("WScript.Shell").Run "explorer /Root,""X:\path\to\folder"""

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks for the reply!
The above code takes me to the folder, but I can still navigate away from it. (I can click the up folder button and it will take me up a level-- or more if I keep clicking th button) I need it not let me navigate away from the original folder. It would be great if it would allow me to go into the subfolders of the orginal folder and back, but not go 'above' the orginal folder.

thanks!
 
Anyone else have an idea on how I can do this?
thanks
 
If you set the folder as shared and map it a drive, then when the user is sent to the mapped drive they would not be able to navigate back.
 
Thanks so much for the reply! Is there anything special to map a drive? I will do some reading and try this out.

Thanks again!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top