Hi everyone,
I have been using xcopy to copy IIS logs to another server for statistical analysis using xcopy g:\Logs\iis\*.log \\destinationserver\logs\iis\*.log_%computername% /D /Y /S. This basically copies all .log files recursively from each site ID directory to the destination server, and adds the server name to the end of the file for identification.
It works ok, but I end up with file names looking like ex090928.log_servername on the destination server. I'd really like it to be ex090928_computername.log
Any help is greatly appreciated.
I have been using xcopy to copy IIS logs to another server for statistical analysis using xcopy g:\Logs\iis\*.log \\destinationserver\logs\iis\*.log_%computername% /D /Y /S. This basically copies all .log files recursively from each site ID directory to the destination server, and adds the server name to the end of the file for identification.
It works ok, but I end up with file names looking like ex090928.log_servername on the destination server. I'd really like it to be ex090928_computername.log
Any help is greatly appreciated.