Hi!
HERE IS MY PROBLEM
==============
I'm interested in a function that opens for editing, then saves and closes in turn all the files in C:\DIRECTORY\
WHY THAT PROBLEM
=============
The C:\DIRECTORY\ contains text files *.txt whose content should undergo some changes (that pertains to ALL THE FILES IN C:\DIRECTORY\). So I should open each file, edit, save and then close it. Everything is clear to me when dealing with concrete files but I have no idea of how to go through the unknown list of files in C:\DIRECTORY\.
Thanks in advance for any hint!
grautu 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
grautu 0 Newbie Poster
iamthwee
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
grautu 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.