|
Answer» I have a problem--- I have a program that creates log files and names them based the time and hour in which they are created. I have built a batch file to ftp the file but it will not work because the NAME changes everyday on the file. So I was thinking the one thing all the log files have in common is they contain the word "short". If I could creat a batch file that wpuld rename any file that contains the the string "short" to short_term_audio_level.csv I could write the ftp script to simply FTP that file. So the question is how could a write a batch file to run that would rename any file that contains the word "short" to "short_term_audio_level.csv".
I figured ren *short* short_term_audio_level.csv would do the trick but it is showing The syntax of the command is incorrect. Thanks in advance Kevin.......
If someone could point me in the right , it would be HUGE. My backround is more netwrking and VIDEO but I have to make this work asap. A bit more INFO this software is running in Windows Server 2003..I figured out how I can do it. because the naming convention always uses date time minutes and seconds it is always the same AMOUNT of characters on each side of short. rename ???short???.csv short_term_audio_level.csv does the trick.
|