Guest_imported
New member
- Jan 1, 1970
- 0
I have a ton of files from reports I run every day that I have to manually rename from a string found in the file. what I am looking for is a way to run a script that will go through all the files in a directory look for the
string and rename the file to that string. My file looks like this.
CONSUMPTION UNITS REPORT MAR 20, 2002 11:14 AM PAGE 1
01/23/02 00:01
CLOCK: 15 MINS STOP TIME: 02/19/02 13:15
DEVICE ID: 338283
ACCOUNT #: 338283-001
I want to rename by account #
any help would be appreciated.
string and rename the file to that string. My file looks like this.
CONSUMPTION UNITS REPORT MAR 20, 2002 11:14 AM PAGE 1
01/23/02 00:01
CLOCK: 15 MINS STOP TIME: 02/19/02 13:15
DEVICE ID: 338283
ACCOUNT #: 338283-001
I want to rename by account #
any help would be appreciated.