Has anyone done this... I am just kicking ideas around and any input would be appreciated:
I have a number of files that are produced by a batch process every night. There will be > 15 of them, but I do not know exactly how many there will be.
Their names are like:
mycomapny-name.xml.1
mycompany-name.xml.2
mycompany-name.xml.22
etc etc
I need to get to:
mycompany-name1.xml
mycompany-name2.xml
mycompany-name22.xml
I am looking at using something like forfiles or similar. There is no windows scripting host or perl etc on the server - installing these is not an option.
Good old command line batch processing only guys/gals.
Not as straight forward as it looks - any input gratefully received.
I have a number of files that are produced by a batch process every night. There will be > 15 of them, but I do not know exactly how many there will be.
Their names are like:
mycomapny-name.xml.1
mycompany-name.xml.2
mycompany-name.xml.22
etc etc
I need to get to:
mycompany-name1.xml
mycompany-name2.xml
mycompany-name22.xml
I am looking at using something like forfiles or similar. There is no windows scripting host or perl etc on the server - installing these is not an option.
Good old command line batch processing only guys/gals.
Not as straight forward as it looks - any input gratefully received.