[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

How to create directories?

How can I create directory like:
C:\PROGS\WIN95\INTERNET
If I only have C:\PROGS
So I want to create all those directories that don't excist.
Is there any easy way?

ToniTOP
0
tonitop
Asked:
tonitop
1 Solution
 
javiertbCommented:
You have to do this:

CreateDir('C:\PROGS\WIN95');
CreateDir('C:\PROGS\WIN95\INTERNET');

This will work.
0
 
gysbert1Commented:
This is definately better !

Use ForceDirectories(MyDirectory);

This will create them all in one go.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now