Link to home
Start Free TrialLog in
Avatar of kevinvw1
kevinvw1

asked on

access unc path with window.location redirect

If I go into IE I can type a UNC path (\\kevin2004\c) in the address bar and it will pull up the folders on my local hard drive.
I want to do the same thing using the window.location redirect javascript but the syntaxn doesn't seem to be working.
Any thoughts?
SOLUTION
Avatar of cyberdevil67
cyberdevil67

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kevinvw1
kevinvw1

ASKER

andrew, I didn't quite clarify, I am concatenating the path.  Also, this is running inside an non-web application (GoldMine CRM).
They have an embedded browser view that allows you to pass field info from the application into the embedded IE browser.

Currently I have the following -

window.location = "<<&Key5>>"
Where &Key5 represents a text field in the goldmine application.
If the Key5 field contains file://kevin2004/c/clients/1234
everything works perfectly.
What I need though, is to hard code the "file://kevin2004/c/clients/" portion and
Key5 field will contain only the final destination folder (1234).
Thanks.



One more thing, GoldMine automatically handles the replacing of the "&amp:Key5" with the appropriate data that is being stored in the Key5 field.