HI,
I have this code:
strFile = Session("Username" & "_" & AppName ' & "_" & mydate
csvFile = "\tool\csv\" & strFile & ".csv"
strFile = server.mappath("\" & "\tool\csv\" & strFile & ".csv"
set a = fs.Createtextfile(strFile, true)
It creates a CSV file in the csv directory. But I had to move the whole "tool" directory to a different drive so now have a virtual "tool" directory setup in IIS.
When this code is run using the virtual directory it returns path not found (since its no longer in c:\inetpub\ but on E:\somewhere)
What can I do to to create the CSV in the folder on the new drive?
Thanks
I have this code:
strFile = Session("Username" & "_" & AppName ' & "_" & mydate
csvFile = "\tool\csv\" & strFile & ".csv"
strFile = server.mappath("\" & "\tool\csv\" & strFile & ".csv"
set a = fs.Createtextfile(strFile, true)
It creates a CSV file in the csv directory. But I had to move the whole "tool" directory to a different drive so now have a virtual "tool" directory setup in IIS.
When this code is run using the virtual directory it returns path not found (since its no longer in c:\inetpub\ but on E:\somewhere)
What can I do to to create the CSV in the folder on the new drive?
Thanks