Click here to Skip to main content
16,004,889 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

I want to find a particular .exe on a client system using JavaScript. If an .exe is found then I want to create a batch file which contains the full path of the file.

Find files with JavaScript[^]

I uses the above link but i didn't get a solution.

Any help is greatly appreciated.
Posted
Updated 13-Apr-11 0:43am
v3
Comments
Sandeep Mewara 13-Apr-11 5:19am    
What went wrong? share what you tried and did not work. Update question with it.,

1 solution

You can imagine that this functionality is pretty dangerous if every javascript could just scan a client machine for files. So, normally this isn't allowed. If you want to make it possible you could your web site to client's "trusted site" (IE/Tools/Internet options/Security) and decrease the security level of it. For example, you can enable all options in "ActiveX controls and plug-ins", and this will allow the javascript to use the FileSystemObject.

Be aware that nobody on the internet would normally allow this. They would much rather search a file themselves and upload it if needed.


Good luck!
 
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