For example, I will like to set the default directory to "C:\My Documents".
How to set a default directory?
It's better to use
This is impossible, as it is a security risk to let website code set any value on the machine.
Also, you can never be sure that directory exists.
What if I'm on a Mac? My stuff are in
~/Pictures. What if I installed Windows on