?
Solved

How to create directories?

Posted on 1997-05-09
2
Medium Priority
?
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month11 days, left to enroll

770 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