Using A Batch File To Rename Text Files - TechRepublic
General discussion
March 1, 2001 at 02:19 AM
muyideen

Using A Batch File To Rename Text Files

by muyideen . Updated 25 years, 3 months ago

I have a scenario whereby an Oracle application I developed generates a text file output. This output must reside in a seprate directory on daily basis such that yesterday’s output file must have a different name than today’s file.
I have another program which generates a unique filename (a text string) and writes it to another text file.
My problem is how to use a redirection symbol in a DOS batch file to pick this unique filename to automatically rename my output file everyday.

This discussion is locked

All Comments