Click here to Skip to main content
15,918,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi. frnds


i want to get full path using javascript... for e.x. like "notepad.exe " .then i get the path 'C:\\windows/notepad.exe'.





thnks
Posted
Updated 22-May-11 23:38pm
v2

u can do in javascript like

C#
var a = new File("/Foldername/notepad.exe");
var b = a.path;
 
Share this answer
 
v2
Comments
amitthakkar1987 23-May-11 5:32am    
i want to find using recursive directory search ...is it possible to find ??
Here's a CodeProject article.

File Search using Javascript[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900