Delphiwhat
Programmer
Hi folks
Can somene help me witha little piece of code.
I have a directory which contains a list of files. what i want to do is press a button and I will get a list of folders created. One folder is created per file and named the same as the file.
so if i had
C:\myfiles\file1001.txt
\file1002.txt
\file1003.txt
\file1004.txt
after pressing the button I would end up with
C:\myfiles\file1001\file1001.txt
\file1002\file1002.txt
\file1002\file1003.txt
\file1002\file1004.txt
If the directory already exists then the folder is not created
any ideas?
thanks
delphi
Can somene help me witha little piece of code.
I have a directory which contains a list of files. what i want to do is press a button and I will get a list of folders created. One folder is created per file and named the same as the file.
so if i had
C:\myfiles\file1001.txt
\file1002.txt
\file1003.txt
\file1004.txt
after pressing the button I would end up with
C:\myfiles\file1001\file1001.txt
\file1002\file1002.txt
\file1002\file1003.txt
\file1002\file1004.txt
If the directory already exists then the folder is not created
any ideas?
thanks
delphi