You cannot browse through the client’s machine using javascript. It would be a major security flaw if you could do that. Just think, someone from the internet having access to your local files! If you are looking to store some data persistantly on the client side you can use.
- cookie
- localStorage
- indexDB
- sessionStorage
Thats pretty much it.