Hi,
Can someone help me with appending %date% dynamically to the output file of the perfsat.
This is my batch file content but it does not work:
perfstat8.exe 192.x.x.x -t 2 -i 3,0 -z --sshprivatekey-file=X:\NetApp Downloads\Perfstat_Windows\Perfstat_Windows\.ssh\id_rsa -- mode = "c" -o X:\NetAppDownloads\Perfstat_Windows\logs\perfstat_%date%
++++++++++++++ should I do something like this +++++++++
@echo off
date = %date%
perfstat8.exe 192.x.x.x -t 2 -i 3,0 -z --sshprivatekey-file=X:\NetApp Downloads\Perfstat_Windows\Perfstat_Windows\.ssh\id_rsa -- mode = "c" -o X:\NetAppDownloads\Perfstat_Windows\perfstat_%date%
+++++++++++++++++++++++++++++++++++++++
None works.
Thanks
SN