Link to home
Start Free TrialLog in
Avatar of Member_2_79173
Member_2_79173

asked on

Need simple batch file rename utility (actually truncation)

I installed a utility called Outlook Data Export to export Outlook Notes to text files. Unfortunately it adds what looks to be the date and time onto the beginning of each resulting exported file, like this.

20100618-1253 A dozen ways to eject or unmou.txt

I checked the option to put the first 30 characters of the file into the name so that I can see what it contains. When I created each Outlook Note I put a title in the first line of the note so checking this option really helps to see those, but I don't want all those numbers at the beginning.

Most batch file rename utilities I've found in a Google search have all sorts of fancy capabilities but I just need to remove the data & time numbers from the beginning. I have about 1500 Notes so I really need some batch utility to do this.

I tried the Windows Explorer rename function that I saw described on the web but it changes all the names to the name of the example file, which I don't want. I just want to remove the date and time from the beginning of all the files.

I don't see any zone that applies to this other than Windows.

Thanks,
donander
ASKER CERTIFIED SOLUTION
Avatar of KCarney81
KCarney81

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you're happy to use VBScript then you can use the split function.

Hang on, I'll see if I can find an example.
Avatar of Member_2_79173
Member_2_79173

ASKER

ScintillateRich:

Please don't look for the example. The utility that KCaryey81 suggested works wonderfully.
OK thanks for letting me know.
KCarney81,

This is fantastic!!! I was skeptical that it would work as I am not proficient in scripting but I saw that the main product is GUI. I installed it and within 5 minutes was able to complete the task I needed. I think it is so excellent that they have the function to just remove the first n characters, regardless. No matching or anything. Just remove the first 14 characters and you're done!!

I will accept your comment as the solution but just wanted to tell you how much I appreciate your fast and accurate comment.

Thanks very much,
donander
It is too bad they don't have an A+ grade available because this solution deserves it. It was the fastest and most accurate solution I have ever received on EE.

Thanks,
donander
I highly recommend that product to anyone and everyone I can, it is simply indispensable.  I am glad you are happy with it donander!