|
-
Mar 27th, 2001, 01:18 PM
#1
Thread Starter
Lively Member
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
-
Mar 27th, 2001, 02:39 PM
#2
Thread Starter
Lively Member
Sorry i mean here i wan to get the Temp dir path
Is there any way i can get the physical path???
Sonia
-
Mar 27th, 2001, 03:34 PM
#3
Try this:
Code:
Set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
MyFileObject.CreateFolder MyFileObject.GetSpecialFolder(TemporaryFolder) & "\Myfolder"
-
Mar 27th, 2001, 05:26 PM
#4
Thread Starter
Lively Member
It works...
Thanks a lot..
Sonia
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|