-
Can anyone tellme how to create a folder in windows temp folder, the temp folder can be in C or D drive
in this example i am hardcoding the path
Set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
MyFileObject.CreateFolder "C:\Temp" & "Myfolder"
Sonia
-
Sorry i mean here i wan to get the Temp dir path
Is there any way i can get the physical path???
Sonia
-
Try this:
Code:
Set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
MyFileObject.CreateFolder MyFileObject.GetSpecialFolder(TemporaryFolder) & "\Myfolder"
-
It works...
Thanks a lot..
Sonia