T
Tcs
Before I import my text file, I need to fix it. I want to:
1.) rename it from <name.txt> to <name.old>
2.) open it to read it
3.) read a line
4.) fix what needs fixing in that line (record)
5.) write fixed record out to file <name.txt>
Do I need to change my working directory to that which contains my file I need
to fix? If so, how?
How do I rename the file from <name.txt> to <name.old>?
Your help is very much appreciated. Thanks in advance,
Tom
1.) rename it from <name.txt> to <name.old>
2.) open it to read it
3.) read a line
4.) fix what needs fixing in that line (record)
5.) write fixed record out to file <name.txt>
Do I need to change my working directory to that which contains my file I need
to fix? If so, how?
How do I rename the file from <name.txt> to <name.old>?
Your help is very much appreciated. Thanks in advance,
Tom