c:\backupfilesフォルダを圧縮するイメージ
a は追加の意味
set FName=C:\test_%date:~-10,4%%date:~-5,2%%date:~-2,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.zip "C:\Program Files\7-Zip\7z.exe" a %FName% c:\backupfiles\
c:\backupfilesフォルダを圧縮するイメージ
a は追加の意味
set FName=C:\test_%date:~-10,4%%date:~-5,2%%date:~-2,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.zip "C:\Program Files\7-Zip\7z.exe" a %FName% c:\backupfiles\