Access Current users related folder through javascript. RRS feed

  • Question

  • I'm using FileSystemObject to access the local file system of my webpage visitor from javascript code.I want to access documents & settings folder of current user.
    The folder i want to access may be like this

    "(SystemDrive)\Documents and Settings\(CurrentUser)" ...

    Is there any way to get this?
    I want to avoid hard coding like "....\doc... and setting...\user"

    Any way to achieve this.
    Monday, June 2, 2008 9:16 AM

All replies

  • Did you ever find a solution to this problem? I am having a similar problem.


    I want a way to dynamically access the my documents folder on the machine of any user who accesses my form using Jscript. I have been scouring the web for a solution but I have not yet come across one. I know that VBScript has an Environ("USERPROFILE") function but it is not available in Jscript.


    If you have a solution please post!

    Friday, July 2, 2010 4:08 PM