+ Reply to Thread
Results 1 to 2 of 2

Thread: file path

  1. #1
    Barn Loyal todd2006 is an unknown quantity at this point todd2006's Avatar
    Join Date
    Mar 2008
    Posts
    889
    Rep Power
    4

    file path

    Hello,

    I have a folder called fileslocation I need to get the path of the folder and display it on the screen

    I have used this code

    Set fs=Server.CreateObject("Scripting.FileSystemObject ")

    but trying to figure out how to search for a specific folder

    any thoughts

    todd

  2. #2
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    Use Server.MapPath.

    That will give the location on the hard drive of the folder/file you specify. Is that what you mean?
    Code:
    server.mappath("pathtofileslocation")
    
    See here for more info: Server.MapPath Method

    Hope that helps

+ Reply to Thread

Similar Threads

  1. How to use browse for file and enter path into field?
    By MaxxMills84 in forum Microsoft Access
    Replies: 5
    Last Post: March 8th, 2010, 01:40 PM
  2. DOS - Re-arrange file parts and build text file
    By tuxalot in forum Windows Scripting
    Replies: 0
    Last Post: December 31st, 2009, 01:50 PM
  3. Check trusted path in registry
    By tuxalot in forum Microsoft Access
    Replies: 11
    Last Post: March 17th, 2009, 03:40 PM
  4. How to show the full path to a linked mdb in a textbox
    By tuxalot in forum Microsoft Access
    Replies: 2
    Last Post: March 7th, 2009, 08:12 PM
  5. Replies: 0
    Last Post: April 25th, 2008, 07:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO