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

Forum

Log In Sponsors
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 7: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 7:14 am

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

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

Please show us the complete code you are using.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

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

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

i attached the code. kindly see the attachment
You do not have the required permissions to view the files attached to this post.
james1986
 
Posts: 4
Joined: Mon Jan 26, 2009 7:14 am

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

Postby rangana on Mon Feb 02, 2009 1: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.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 6 guests