Results 1 to 3 of 3

Thread: Gil

  1. #1
    Gil Dering Guest

    Default Gil

    I&#039;m using Scripting.FileSystemObject to create links to ".xls" files within a directory structure. However, if the files are located on a mapped drive, I cannot get below the drive level . . .?? <BR><BR>Ideas . . .???

  2. #2
    J. Paul Schmidt Guest

    Default Server.MapPath()

    Perhaps use Server.MapPath() to convert the virtual path to the physical path:<BR><BR>MyPhysicalPath = Server.MapPath("/mydir/myfile.xls")<BR><BR>Best regards,<BR>-Paul<BR><BR>J. Paul Schmidt, MBA<BR>Databases on the Web<BR><BR>

  3. #3
    Sreedharan Surendran Guest

    Default Solution: Gil

    When you map your drive, and share it, make sure that you share it from the root directory. Then you can go all the way down. <BR><BR>Suppose the name of the mapped computer is Sreedharan. Say you want to access a file in the folder D:StuffGILDocs, as well as the folder upstream, till Stuff (inclusive). Then you have to share the Stuff Folder. (If you share the D drive itself, then you will have access to all the folders in D drive). In that case, you will have access to all the files in the Docs folder, as well as all the other files, down to the Stuff folder. The UNC path you will use will be \SreedharanStuffGILDocs.<BR><BR>If you share only the Docs folder, then you will be able to access it using the UNC path \SreedharanDocs. You CANNOT go down to the folders below! Please note that this is a security feature, otherwise, you will be limited in the extent to which you can control file access. Thus we can control specifically which folders any user can have access to.<BR>

Posting Permissions

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