rincewind666
asked on
Creating folders from listbox (500 points)
I have a list of folders in a listbox (that vaies):
aaa
bbb
ccc
From this I need to create these folders within each other:
aaa\bbb\ccc
I am using Delohi 6.
I am awarding 500 points as this is urgent. Many thanks fo your help.
aaa
bbb
ccc
From this I need to create these folders within each other:
aaa\bbb\ccc
I am using Delohi 6.
I am awarding 500 points as this is urgent. Many thanks fo your help.
oops forgot to include the loop around that
begin
for i := 1 to ListBox1.Items.Count do
begin
{$IOChecks off}
MkDir(ListBox1.Items[i]);
ChDir(ListBox1.Items[i]);
end;
end;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Haha, never would have thought of that ciuly.
you will next time ;)
ASKER
Many thanks for your help.
Open in new window