|
||||||
| Pascal/Delphi Forum for discussing Borland Delphi and Pascal coding techniques, tips and tricks. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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. |
| Sponsored Links |
|
|
|
|||
|
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) ![]() |
|
|||
|
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? RegardsSirStorm25. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows XP Tricks & Tips!!!!..new ones. | pranky | Tutorials | 9 | 08-23-2008 04:22 PM |
| Sharing Files between computers | TcM | Computer Software/OS | 3 | 04-15-2008 10:06 AM |
| Windows Shortcut List - Saves Time | 2stamlers | The Lounge | 6 | 04-10-2008 07:58 AM |
| retrieve information about the files in a driver | roxelana | Computer Software/OS | 0 | 03-05-2008 04:08 PM |
| How do I read .mbm (Multi BitMap) files? | moondog | General Programming | 7 | 08-07-2007 08:08 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%