How to find the path dynamically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganesht
    New Member
    • May 2007
    • 7

    How to find the path dynamically

    Hi, I want to access the file from my script for adding data in that file, for this i have to give dynamic path for finding that file, Actually i want to know that file is in which drive. How to find the "Program Files" path dynamically using script.
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #2
    r u trying to handle file issues in the client side using JS?

    look .... it is quite tedious in JS.
    actually it done in IE using ActiveXObject, for others i don't know.
    i think u heard that name.

    best ot luck.

    kind regards.
    dmjpro.

    Comment

    • ganesht
      New Member
      • May 2007
      • 7

      #3
      Thanks for your reply.,

      can you tell me about 'quite tedious' in js.

      Thanks and Regards,
      Ganesh.T

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        If this involves accessing files on the client machine, then it is not possible using standard Javascript.

        ActiveX would only work in IE if you remove security restrictions.

        Comment

        • ganesht
          New Member
          • May 2007
          • 7

          #5
          Hi, Sorry for inconvenient, Thanks for your reply.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            See this link and see if that helps.

            Comment

            Working...