Created
April 25, 2017 02:01
-
-
Save hoozh/de224afb3b17f3a9f778aa6b9909d81c to your computer and use it in GitHub Desktop.
7z 备份文件
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@SET EXEPATH="..\7-Zip\7z.exe" | |
@SET PROJECTPATH="\\192.168.1.8\文件夹\文件夹1" | |
%EXEPATH% a -tzip "文件夹1_%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%.zip" %PROJECTPATH% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment