Hi All!
I was wondering if anyone knew the code for the things below:
1. The user puts a folder into a TEdit (C:\Folder1\), then clicks a button, the program then saves a list of all files and folders included in the folder to a file e.g C:\File1.txt.
2. The user specifies a file made with the above, then tyhe program deletes the files and folders listed in the file.
Hope you can help!!
Regards
SirStorm25.
Small Question - Files and Folders!
Started by SirStorm25, Aug 26 2008 11:53 AM
4 replies to this topic
#1
Posted 26 August 2008 - 11:53 AM
|
|
|
#2
Posted 29 August 2008 - 07:11 AM
Any ideas...???
#3
Posted 30 August 2008 - 10:29 PM
so all you need, is just to perform a checklist of all the files and folders on specificed path?
if thats what you meant. then the commands "FindFirst" and "FindNext" are for you.. just learn how to use in on the net.. (i dont remember my self) :P
if thats what you meant. then the commands "FindFirst" and "FindNext" are for you.. just learn how to use in on the net.. (i dont remember my self) :P
#4
Posted 31 August 2008 - 12:23 PM
Thanks for the reply!!! =D
So, If I got a list of files and folders from these functions,
would I somehow be able to save there full paths to a file
e.g through a string list?
If so, how would I open the file and delete the files listed?
:D Regards
SirStorm25.
So, If I got a list of files and folders from these functions,
would I somehow be able to save there full paths to a file
e.g through a string list?
If so, how would I open the file and delete the files listed?
:D Regards
SirStorm25.
#5
Posted 03 September 2008 - 07:48 PM
im bearly understand what you want to do..
you want to open each file inside the folder and write into it a message?
you want to open each file inside the folder and write into it a message?


Sign In
Create Account

Back to top









