Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Sep 29, 1999

Create a Directory From an ASP Page

Question:
How do I create a directory in ASP?

Answer:

Use the 'CreateFolder' method of the FileSystemObject object.

Set fs = Server.CreateObject("Scripting.FileSystemObject")
fs.CreateFolder ("foldername")

Obviously, you need to have proper permissions to be able to create a directory on the machine.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date