Solved

How to create directories?

Posted on 1997-05-09
2
158 Views
Last Modified: 2010-04-06
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
Comment
Question by:tonitop
2 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 50 total points
ID: 1336033
You have to do this:

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

This will work.
0
 
LVL 2

Expert Comment

by:gysbert1
ID: 1336034
This is definately better !

Use ForceDirectories(MyDirectory);

This will create them all in one go.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question