(鍏跺疄鎴戜笉鏄綉绠★紝璇︽儏璇风湅……) 鍏充簬缃戠涔嬭矾鐨勮鏄

銆愬垎浜慠obocopy鍜寈xcopy鏀捣鏂囦欢澶囦唤閲嶄换

涓や釜杞欢鐨勫畨瑁呮柟寮忔湁鎵涓嶅悓锛氫粠http://download.zol.com.cn/detail/10/91484.shtml澶勪笅杞絉obocopy骞跺皢鍏朵腑鐨robocopy.exe澶嶅埗鍒扮郴缁烻ystem32鐩綍鍗冲彲锛孹XCOPY鍒欓渶瑕佷粠http://download.zol.com.cn/detail/10/91481.shtml澶勪笅杞藉皢鍏朵腑鐨勬墍鏈夋枃浠惰В鍘嬪埌涓鏂囦欢澶逛笅锛岀劧鍚庡弻鍑籭nstall.bat鏂囦欢瀹夎銆

浣犱篃鍙互鏈湴涓嬭浇
robocopy:
鍙厑璁镐細鍛樹笅杞 璇ユ枃浠跺彧鍏佽浼氬憳涓嬭浇! 鐧诲綍 | 娉ㄥ唽
xxcopy:
鍙厑璁镐細鍛樹笅杞 璇ユ枃浠跺彧鍏佽浼氬憳涓嬭浇! 鐧诲綍 | 娉ㄥ唽

robocopy璇硶锛
robocopy 婧愭枃浠讹紙澶癸級璺緞 鐩爣鏂囦欢锛堝す锛
鍙傛暟锛
/s鏄〃绀哄寘鎷櫎绌烘枃浠朵笅鐨勬墍鏈夊瓙鐩綍锛屽鏋滄病鏈夊垯浠呭鍒舵枃浠惰屼笉鍖呮嫭瀛愮洰褰
/e琛ㄧず澶嶅埗鎵鏈夊瓙鐩綍鍖呮嫭绌烘枃浠跺す
/lev:2琛ㄧず澶嶅埗鐨勫眰绾э紝姣斿鎸囧畾灞傜骇鍚庯紙浜岀骇锛変笅鐨勬枃浠朵細琚鍒
/xf涓烘寚瀹氫笉鎵ц澶嶅埗鎿嶄綔鐨勬枃浠剁被鍨嬶紝鍚庨潰鐨勬枃浠跺悕鏀寔閫氶厤绗︺傚鏋滃弬鏁颁负/xd锛屽垯琛ㄧず鎺掗櫎鍚庨潰鎸囧畾鐨勬枃浠跺す銆
锛/max:鍚庣洿鎺ユ帴鏁板硷紝鏁板煎崟浣嶄负byte銆傚鏋滄槸/min:1000锛屽垯澶嶅埗涓嶅皬浜1000bytes鐨勬枃浠躲備袱涓弬鏁板彲浠ュ悓鏃朵娇鐢紝鐣屽畾澶嶅埗鏂囦欢澶у皬鐨勮寖鍥淬
/maxage:琛ㄧず鏈杩滀慨鏀规椂闂寸殑锛屼慨鏀规椂闂存瘮杩欎釜杩樿鏃х殑鏂囦欢灏嗕笉浼氳澶嶅埗銆/maxage:鍚庡彲鎺ユ暟瀛楋紝涔熷彲浠ユ帴鏃ユ湡锛屾暟瀛楀皬浜1900鏃惰〃绀哄ぉ鏁帮紝鍚﹀垯灏卞緱鐢╕YYYMMDD鏉ヨ〃绀哄叿浣撶殑鏃ユ湡
濡/maxage:20040210琛ㄧず2004骞2鏈10鏃ュ悗琚慨鏀圭殑鏂囦欢鎵嶅厑璁稿鍒躲備笌涔嬬浉瀵瑰簲鐨勫弬鏁版槸/minage锛岃〃绀烘渶杩戜慨鏀规椂闂达紝姣旇繖涓椂闂存柊鐨勬枃浠跺皢涓嶈澶嶅埗銆
/mir鐨勪綔鐢ㄧ瓑鍚屼簬/purge /e锛/purge琛ㄧず娓呯悊鐩爣鏂囦欢澶规湁鑰屾簮鏂囦欢澶归噷娌℃湁鐨勬枃浠讹紙澶癸級銆傞氳繃杩欎釜鍛戒护锛岃兘淇濊瘉婧愭枃浠跺す鍜岀洰鏍囨枃浠跺す缁撴瀯涓庢枃浠跺畬鍏ㄧ浉鍚屻傝繖鍦ㄥ垱寤洪暅鍍澶囦唤鏃讹紝闈炲父鏈夌敤銆
/move琛ㄧず绉诲姩銆
/copyall绛変簬/copy:datsou锛岃〃绀哄皢鎵鏈夋簮鏂囦欢澶圭殑淇℃伅澶嶅埗鍒扮洰鏍囨枃浠跺す涓紝鍏朵腑D锛氭枃浠舵暟鎹紝A锛氭枃浠跺睘鎬э紝T锛氭椂闂翠俊鎭紝S锛氭潈闄愪俊鎭紝O锛氭墍鏈夎呬俊鎭紝U锛氬鏍镐俊鎭


鏇磋缁嗙殑璇存槑璇风湅锛
http://soft.zol.com.cn/20/208753.html
鎴栬
http://www.shhack.com/?pagetype-bbsthread-and-tid-4112-and-page-1.html
鎴戣嚜宸辨牴鎹湇鍔″櫒鐨勯渶瑕佸啓鐨勪唬鐮侊細
绋嬪簭浠g爜 绋嬪簭浠g爜

cls
echo off
echo 鏄犲皠纾佺洏浠ユ斁瑕澶囦唤鐨勬枃浠
net use O: \\璺緞 "瀵嗙爜" /user:"鐢ㄦ埛"
echo  寮濮澶囦唤MRTH閰嶇疆鏂囦欢
robocopy C:\mrtg-2.10.1 o:\mrtg /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo MRTG鏂囦欢澶囦唤瀹屾垚锛
echo 寮濮澶囦唤php閰嶇疆鐜
copy c:\windows\php.ini c:\php /y
robocopy c:\php o:\php /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo php鐜澶囦唤瀹屾垚锛
echo 寮濮澶囦唤IIS澶囦唤锛堝埗浣滃伐鍏凤細璧㈡斂IIS澶囦唤宸ュ叿锛
robocopy D:\backup\IISbackup o:\IISbackup /e /R:0 /W:0 /xf *.tmp Thumbs.db /copyall /log+:o:\%date%.txt
robocopy D:\backup\*.bat o:\IISbackup /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo IIS澶囦唤鎴愬姛
echo 寮濮澶囦唤MySQL鍜宲hpmyadmin鏂囦欢
robocopy "D:\Program Files\MySQL" o:\MySQL /e /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo 澶囦唤MySQL鍜宲hpmyadmin鏂囦欢鎴愬姛锛
echo 寮濮澶囦唤缃戠珯鏂囦欢
robocopy d:\www\www.smoile.com o:\www\www.smoile.com /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
robocopy d:\www\www.lygpx.com.cn o:\www\www.lygpx.com.cn /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
robocopy d:\www\www.jz022cumt.cn o:\www\www.jz022cumt.cn /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
robocopy d:\www\www.smoile.com o:\www\www.smoile.com /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db/log+:o:\%date%.txt
robocopy d:\www\ts2001.smoile.com o:\www\ts2001.smoile.com /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
robocopy d:\www\mrtg o:\www\mrtg /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
robocopy d:\www\wp o:\www\wp /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo 缃戠珯澶囦唤鎴愬姛锛
echo 寮濮澶囦唤Serv-U
robocopy D:\soft\network\Serv-U o:\Serv-U /e /copyall /R:0 /W:0 /xf *.tmp Thumbs.db /log+:o:\%date%.txt
echo Serv-U澶囦唤鎴愬姛锛
rem 澶囦唤www.smoile.com鏁版嵁搴撴枃浠
c:\Program Files\WinRAR\Rar.exe" a -r  -m5  -y "o:\www\www.smoile.com\MDB\%date%.rar" D:\www\www.smoile.com\鏁版嵁搴撹矾寰刓*.*
net use O: /del


鏂板浜/log+: 鍙傛暟锛屽埄鐢%date%鍑芥暟杈撳嚭褰撴棩鐨澶囦唤璁板綍銆傚彧鏄湁涓涓湴鏂逛笉鏄庣櫧鐨勶細%date%.txt娌℃湁鍚庣紑.txt锛屽弽鑰屾槸鍙猚opy浜嗏滄槦鏈烴.txt鈥濇枃浠讹紝鏄剧劧鏄病鏈夎繖涓枃浠剁殑锛屽悗鏉ュ彂鐜板彲浠ョ敤浜/xf 鍙傛暟鎺掗櫎锛岀珶鐒跺氨鎶娾滄槦鏈烴.txt鈥濇枃浠跺綋鎴愪簡鎺掗櫎鏂囦欢锛岃繖鏍蜂互鏉澶囦唤灏遍『鍒╄繘琛屼簡銆

鍙戠幇浜嗕竴涓robocopy鐨勫浘褰㈢晫闈㈢殑杞欢
瀹樻柟涓嬭浇锛http://www.sh-soft.com/front_content.php?idcatart=156
鏈湴涓嬭浇锛
鍙厑璁镐細鍛樹笅杞 璇ユ枃浠跺彧鍏佽浼氬憳涓嬭浇! 鐧诲綍 | 娉ㄥ唽
浣犲彲浠ュ浘褰㈠寲鐨勯夋嫨婧愮洰褰曞拰瀛樺偍鐩湴锛岄粯璁ゆ儏鍐典笅鑷姩鎷疯礉鎵鏈夌洰褰曪紝瀛愮洰褰曞拰鏂囦欢锛岃兘淇濇寔鍘熺洰褰曠粨鏋勩
杞欢榛樿涓嶇敓鎴愭棩蹇楋紝鍙湪绐楀彛涓婂睍鐜帮紝鎵浠ユ垜浠渶瑕佸幓璁剧疆锛屾妸"Log to External File" 閫変笂灏卞ソ浜嗐備綘杩樺彲浠ュ湪"Append other parameters" 娣诲姞浣犺嚜宸辩殑鍛戒护鍙傛暟绛夈

鍙傛暟绐楀彛 

鍚姩涓婇潰鐨勭晫闈互鍚庨鍏堣鎵惧埌robocopy.exe浣嶇疆锛屾妸璺緞鎸囪繘鍙栵紝濡傛灉娌℃湁robocopy.exe浣犲氨涓嬭浇

ps:浠婂ぉ鍦 寰蒋杩欓噷鐪嬪埌浜嗗彟澶栦竴涓晫闈㈢殑robocopy GUI锛屾劅鍏磋叮鐨勯〉鍙互璇曡瘯锛屽彲浠ュ鍑哄懡浠ゆ枃浠躲


鍙厑璁镐細鍛樹笅杞 璇ユ枃浠跺彧鍏佽浼氬憳涓嬭浇! 鐧诲綍 | 娉ㄥ唽



鏂囩珷鏉ヨ嚜: 鏈珯鍘熷垱
Tags: 杞欢 windows robocopy xxcopy backup
鐩稿叧鏃ュ織:

鐗瑰埆澹版槑锛
鈶 鏈珯鍙戣〃鐨勬棩蹇椾粎灞炰釜浜鸿鐐癸紱
鈶 鏃ュ織涓湭娉ㄦ槑"绂佹杞浇"瀛楁牱鐨勬枃绔狅紝濡傞渶杞浇锛岃娉ㄦ槑鍑哄锛屽苟涓斾繚鐣欐鏃ュ織鐨勯摼鎺ワ紱
鈶 绂佹鐩楅摼鏈珯鎵鏈夊浘鐗囥佽蒋浠躲佸奖闊虫枃浠跺湴鍧锛
鈶 鏈珯鎻愪緵涓嬭浇鐨勮祫婧愶紝浠呬緵鍙傝冩垨娴嬭瘯,涓嬭浇璇疯嚜琛屾潃姣掋傚閫犳垚浠讳綍涓嶈壇鍚庢灉锛屾涓嶈礋璐o紱
鈶 濡傛湁浠讳綍鐤戦棶锛岃闅忔椂涓庣珯闀胯仈绯伙細webmaster#smoile.com | smoile's缃戠涔嬭矾 銆
鈶 JPG鏍煎紡璇蜂娇鐢ACDSee宸ュ叿闃呰锛孭DF鏍煎紡璇蜂娇鐢Adobe Reader闃呰锛孌OC鏍煎紡璇蜂娇鐢∣ffice Word闃呰锛孯AR鏍煎紡璇风敤WINRAR闃呰銆
鍏嶈矗澹版槑:
銆銆姝ら〉闈㈡彁渚涚殑鏂囦欢鍧囬氳繃NOD32鏉姣掕蒋浠舵壂鎻忔棤姣锛岃鏀惧績浣跨敤锛屼絾涔熺儲璇锋偍鍦ㄤ笅杞藉悗鍐嶆煡姣掍竴娆$‘淇濇枃浠跺畨鍏紝濡傛湰鏂囦欢瀵规偍鐨勮绠楁満閫犳垚鍗卞锛屾湰绔欎笉璐熻矗浠汇
銆銆鏈珯鎵鍒婅浇鍐呭鍧囦负涓汉鎾板啓鎴栦粠缃戠粶涓婃敹闆嗘暣鐞嗭紝骞朵笖浠ヨ绠楁満鎶鏈爺绌朵氦娴佷负鐩殑锛屼粎渚涘ぇ瀹跺弬鑰冿紝涓嶅瓨鍦ㄤ换浣曞晢涓氱敤閫斻備笉寤鸿鎮ㄥ皢鍏跺綋浣滄妧鏈缓璁垨鎿嶄綔寮曞鑰屾牴鎹叾鐩存帴琛屼簨銆傝嫢鎮ㄩ渶瑕佹妧鏈湇鍔★紝鎮ㄥ簲褰撴寮忓鎵樹笓涓氬叕鍙镐互淇濋殰鎮ㄧ殑鍚堟硶鏉冪泭銆傝繖浜涗俊鎭湁鍙兘涓嶆槸鏈鏂扮殑銆佸畼鏂圭殑淇℃伅锛屼篃鍙兘鏄负浜嗙爺绌舵煇涓鎶鏈棶棰樿屾彺寮曡嚜浠栧锛屽彲浠ヤ笉缁忛氱煡鑰屾洿鏀广傚鏋滄湰缃戠珯鍐呭涓嶆厧渚电姱浜嗘偍鐨勭増鏉冿紝璇蜂笌鎴戣仈绯伙紝鎴戝皢鍙婃椂澶勭悊锛屾挙涓嬬浉鍏冲唴瀹癸紒
璇勮: 0 | 寮曠敤: 0 | 鏌ョ湅娆℃暟: 13990
灏忔彁绀猴細鏂囦欢涓嬭浇涓嶄簡锛熶负浜嗛槻姝㈢洍閾炬帴锛屾湰绔欏仛浜嗘妧鏈鐞嗭紝闇瑕佷笅杞界殑缃戝弸璇烽槄璇杩欓噷锛岃幏鍙栭閫熶笅杞藉湴鍧銆
鍙戣〃璇勮
涓洪槻姝㈡敞鍐屾満鐨勪娇鐢,鏈郴缁熷凡绂佹UBB浠g爜锛
璇峰湪鐣欒█涓嬁浣跨敤杩欎簺鍏抽敭瀛
鏄点绉:
瀵嗐鐮: 娓稿鍙戣█涓嶉渶瑕佸瘑鐮.
楠岃瘉鐮:
鍐呫瀹:
閫夈椤:
铏界劧鍙戣〃璇勮涓嶇敤娉ㄥ唽锛屼絾杩樻槸寤鸿鎮娉ㄥ唽璐﹀彿(姣忓ぉ0鈥8鐐圭姝㈡敞鍐).
瀛楁暟闄愬埗 1000 瀛 | UBB浠g爜 鍏抽棴 | [img]鏍囩 鍏抽棴