1,626,287 th visitor since 2017.2.1 ( Today : 600 )
Computer ???
No. 257
Name. swindler
Subject. 배치파일로 압축하여 ftp 전송하기
Main Cate. Windows
Sub Cate.
Date. 2007-07-09 16:08
Hit. 6058 (211.36.27.20)
File.
FOR /F "tokens=1-3 delims=- " %%i IN ('date /t') DO SET DATE=%%i%%j%%k

echo %DATE%

cd c:\RSI

winzip homepage backup_%DATE%.zip

echo user swindler xxxx > ba.txt
echo cd backup >> ba.txt
echo put backup_%DATE%.zip >> ba.txt
echo quit >> ba.txt

wzzip -rp backup_%DATE%.zip homepage

ftp -v -n 211.36.27.15 < ba.txt

del backup_%DATE%.zip


[바로가기 링크] : http://coolx.net/cboard/computer/257



swindler wzzip 은 winzip의 command line 프로그램인데 이거 아니라도 다른 압축써도 상관없고 제어판->예약작업인가 거기 적당히 추가하면 됨. 2007-07-09
Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)