Wildcard %year% or %month% is not expanded/ignored
Hi,
I use a small batch for automatic backups. The source (to be backuped) is stored for each month in an separate destination folder. The name is (for expample : September) : Month_09
With this line (from my batch) I try to build the name of the current month, but it does'nt work.
"open sftp://u..:xxxx.your-storagebox.de -hostkey=....,,,,," ^
"synchronize remote -delete c:\SRC_Backup /Monatssicherungen/Monat_%month%" ^
The wildcard %month% is totally ignored, 'Monat_' is used as destination.
The same is with %year%
What is wrong ??
Best regards Klaus
I use a small batch for automatic backups. The source (to be backuped) is stored for each month in an separate destination folder. The name is (for expample : September) : Month_09
With this line (from my batch) I try to build the name of the current month, but it does'nt work.
"open sftp://u..:xxxx.your-storagebox.de -hostkey=....,,,,," ^
"synchronize remote -delete c:\SRC_Backup /Monatssicherungen/Monat_%month%" ^
The wildcard %month% is totally ignored, 'Monat_' is used as destination.
The same is with %year%
What is wrong ??
Best regards Klaus