Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Small Question - Files and Folders!
Posted 26 August 2008 - 11:53 AM
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!!
Posted 30 August 2008 - 10:29 PM
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)
Posted 31 August 2008 - 12:23 PM
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?
Posted 03 September 2008 - 07:48 PM
you want to open each file inside the folder and write into it a message?