file path

Results 1 to 2 of 2

Thread: file path

  1. #1
    Join Date
    Dec 1969

    Default file path

    Using vbscript, I&#039;m opening and writing to a file. But I have to use the opentextfile command using a hardcoded path...<BR>fso.opentextfile("c:inetpubwhateverfile .csv")<BR>Since this could be different on different machines, is there away to find and use the webserver path instead of the c: path<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: file path

    Server.MapPath, try googling it

Posting Permissions

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