Skip to content

Instantly share code, notes, and snippets.

@ishideo
Created August 29, 2018 05:48
Show Gist options
  • Save ishideo/602dd30375128d856b318308a5223975 to your computer and use it in GitHub Desktop.
Save ishideo/602dd30375128d856b318308a5223975 to your computer and use it in GitHub Desktop.
cd C:\XXX
7z a %date:~0,4%%date:~5,2%%date:~8,2%.zip AAA BBB
pushd "\\XXX\abc"
move /y "C:\backup\%date:~0,4%%date:~5,2%%date:~8,2%.zip" .
cmd.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment