Javascript auto file management

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gymnastdaniel5
    New Member
    • Aug 2007
    • 2

    #1

    Javascript auto file management

    Ok to start out, I have never used JavaScript in my life... I use VB... But I need to use Javascript to manage my downloaded files... So I have folders where specific file types should go automatically.. . Like .exe should goto games programs and misc. .bmp,.png,.gif and .jpg should goto Art. And everything else should goto other places... How could I do this?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to TSDN!

    Unfortunately, Javascript runs in the browser and cannot access the local file system.

    Comment

    • Gymnastdaniel5
      New Member
      • Aug 2007
      • 2

      #3
      Well how would I do this?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by Gymnastdaniel5
        Well how would I do this?
        You want to control where files are stored when they are downloaded? If you use Firefox, there may be an extension which allows you to control this.

        Alternatively, since this is for your own use, you cold use an ActiveX object with vbscript (which would only work in IE).

        Comment

        Working...