Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo off
- color 06
- set param1NoQuotes=%1
- set param1NoQuotes=%param1NoQuotes:"%1
- set yyyy=%date:~6,4%
- set mm=%date:~3,2%
- set d=%date:~0,2%
- set hh=%time:~0,2%
- if "%hh:~0,1%" == " " @set hh=%hh:~1,1%
- set min=%time:~3,2%
- set timeStamp=%hh%.%min%_%d%-%mm%-%yyyy%
- "D:\7-Zip\7z.exe" -tzip a "E:\_Backup\kopia_%timeStamp%%param1NoQuotes%.7z"%1
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement