It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming JavaScript Forum

window.location= 'file:///C:/sharefolder; is not working

window.location= 'file:///C:/sharefolder; is not working

Postby james1986 on Mon Jan 26, 2009 8:33 am

Hi Guys,

i try to open my local system shared folder using javascript command
window.location= 'file:///C:/sharefolder;
where the folder sharefolder is in the c:/ and the folder is shared

the thing is it is not opening in firefox and google chrome


:) can you pls help me in this :)
james1986
 
Posts: 4
Joined: Mon Jan 26, 2009 8:14 am

Re: window.location= 'file:///C:/sharefolder; is not working

Postby rangana on Mon Jan 26, 2009 2:20 pm

Please show us the complete code you are using.
~ Get me some work, I do freelancing ~
User avatar
rangana
500+ Club
 
Posts: 929
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines

Re: window.location= 'file:///C:/sharefolder; is not working

Postby james1986 on Mon Feb 02, 2009 2:41 pm

i attached the code. kindly see the attachment
Attachments
openlocalfile.zip
(472 Bytes) Downloaded 35 times
james1986
 
Posts: 4
Joined: Mon Jan 26, 2009 8:14 am

Re: window.location= 'file:///C:/sharefolder; is not working

Postby rangana on Mon Feb 02, 2009 2:49 pm

You've only attached "openlocalfile.htm".

How do we know that you are calling the real file?

How is the "sharefolder" folder related to "openlocalfile.htm"?

Could you please show us the directory structure that you have at your end.
~ Get me some work, I do freelancing ~
User avatar
rangana
500+ Club
 
Posts: 929
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines


Return to JavaScript Forum

Who is online

Users browsing this forum: No registered users and 9 guests