I need your help in creating a batch or script that will rename two files located in a shared folder. the two original files once generated by my program will always start with a fix letter A and B follow by the date. The format is somewhat like this A00000000.XXX and B00000000.XXX
I need to rename these files to have the following format "NAME.NAME.name.A0000000.XXX and NAME.NAME.name.B0000000.XXX respectively. Basically the name of the original file adding the 3 words separated by periods to the beginning of the file name.
I will need to run this from a windows XP Pro workstation which is part of AD on a mix 2K and 2K3 domain my idea is to put this batch or script in the desktop and have the user double click on it to rename the file. i think it will actually be better to create one batch or script per file, since the orginals are created at different times of the day.
My knowledge on batch and scripting is very very limited therefore i'm posting this ? in hope for someone to create or guide me in the process of creating the script.
I thank you in advance.