Re: [請益] 請問如何用記事本寫批次備份檔?
' Backing My PDA Phone's SD Card Content into PC without multimedia files
strComputer = "."
Set WshShell = WScript.CreateObject("WScript.Shell")
parameter = "u -r -m5 -ri6 -ilogD:\HermiteProfile\Desktop\SDBack.log
-xI:\Videos\*.* -xI:\Musics\*.* -xI:\AudioBooks\*.* -x*.tr3 D:\PDArchives.rar
I:\*.*"
WshShell.Run """c:\program files\utility\winrar\rar.exe""" & parameter
_________________________________________________________________
save above code into text files with extension vbs, like backup.vbs.
For parameter, you need to check up helpfile of winrar.
: 小妹我是在一間公司的資訊部門當小小的MIS助理
: 上個月主機AD的其中一顆硬碟掛點
: 現在已換新硬碟
: 不過工程師說批次備份檔要重寫
: 想把E:\的資料夾寫到D
: 要寫成rar的形式
: 有人懂我在說什麼嗎?
: 工程師說他可以再另外找時間過來幫我寫
: 可是我還是希望能自己學著寫看看
: 但是我試了一下
: 發現還是沒有頭緒
: 公司只有我一個
: 主管在大陸了
: 所以沒人可以幫我
: 因為公司的mis不需要會程式
: 所以我才可以進來上班...嗚...
: 有哪位厲害的大大可以解救我一下嗎...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.133.133.85
推
07/26 23:57, , 1F
07/26 23:57, 1F
→
07/27 00:17, , 2F
07/27 00:17, 2F
→
07/27 00:17, , 3F
07/27 00:17, 3F
→
07/27 00:19, , 4F
07/27 00:19, 4F
→
07/27 00:22, , 5F
07/27 00:22, 5F
→
07/27 00:22, , 6F
07/27 00:22, 6F
→
07/27 00:23, , 7F
07/27 00:23, 7F
→
07/27 00:24, , 8F
07/27 00:24, 8F
→
07/27 00:25, , 9F
07/27 00:25, 9F
→
07/27 00:28, , 10F
07/27 00:28, 10F
→
07/27 00:29, , 11F
07/27 00:29, 11F
→
07/27 00:31, , 12F
07/27 00:31, 12F
→
07/27 00:32, , 13F
07/27 00:32, 13F
→
07/27 00:33, , 14F
07/27 00:33, 14F
→
07/27 00:39, , 15F
07/27 00:39, 15F
推
07/27 02:08, , 16F
07/27 02:08, 16F
→
07/27 02:09, , 17F
07/27 02:09, 17F
→
07/27 02:10, , 18F
07/27 02:10, 18F
→
07/27 02:12, , 19F
07/27 02:12, 19F
→
07/27 02:12, , 20F
07/27 02:12, 20F
→
07/27 02:12, , 21F
07/27 02:12, 21F
討論串 (同標題文章)