I want to get use of the File object to do the
following process,
I have a directory in “d:/†named “an†which
has 3 files that I don’t know their names, I want to
read the content of these 3 files and do the
processing, then I should create another files that
the result would be in just created files.
For example imagine this: d:/an/m.txt (I don’t know
the name of the file is m.txt)
Then I should create a directory named “an†in
“d;\†and create another file named
m1.txt and save the result of processing in it.
After all, I should have d:/an1/m1.txt
How should do this?
Would you please provide me with its code?