Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.6 KiB

  1. **************************************
  2. *** SR/SFP Test Tool: CABBIT.EXE ***
  3. *** ***
  4. *** Owner: a-fprado ***
  5. *** Created: 9-15-99 ***
  6. **************************************
  7. ==================
  8. ==== Purpose ====
  9. ==================
  10. Gathers SFP/SR files (or other specific file) and Creates a cabinet file with the existing ones.
  11. Also dumps the whole Changelog to a text file which is later gathered.
  12. Default files are:
  13. %windir%\system\sfp\sfpdb.sfp
  14. %windir%\system\\sfp\sfplog.txt
  15. %windir%\system\restore\\filelist.xml
  16. %windir%\wininit.ini
  17. %windir%\wininit.bak
  18. %windir%\wininit.err
  19. %windir%\wininit.log
  20. %windir%\system\restore\datastor.ini
  21. %windir%\system\restore\rstrlog.dat
  22. %windir%\system\restore\\rstrmap.dat
  23. <DSRoot>\logs\restorept.log
  24. <DSRoot>\logs\vxdsfp.log
  25. <DSRoot>\dsinfo.dat
  26. <DSRoot>\vxdmon.dat
  27. <CurrentDirectory>\changelog.txt
  28. <CurrentDirectory>\Cabbit.log
  29. OR
  30. It creates a cab file with specific files passed in from the command line <file1> <file2>......
  31. ===================
  32. === USAGE ====
  33. ===================
  34. Cabbit.exe [<file1> <file2> ...<fileN>] [/f: <MyOwnFileName>.CAB | [/a: <AppendFileName>.CAB] [/w: <millisecs>]
  35. Command Line Parameters:
  36. None - Creates a cab file with the default file name: <ComputerName>_ddmmyyHHMMSS.CAB \n");
  37. <file1>...<fileN> - Additional Files to be added.
  38. Switches:
  39. /f: <MyOwnFileName>.CAB Creates a Cabfile with this Filename.
  40. /a: <Suffix>.CAB Creates a Cabfile Appending <Suffix> to the default Filename above.
  41. /w: <n> Time Waits for InitChglogAPI for <n> milliseconds. This option must precede options"/f:" or "/a:".
  42. =====================
  43. Examples of Usage:
  44. =====================
  45. A) c:\>Cabbit.exe
  46. Cabbit.exe will generate a cabfile containing default files and name with the format:
  47. <ComputerName>_mmddyyHHMMSS.CAB
  48. Where mmddyy represents the date, and HHMMSS is the system time when the cab file was generated.
  49. ie. JOHNDOE5_102199125930.CAB
  50. B) c:\>Cabbit.exe <file1> <file2> <fileN> /f: <MyCabfileName>.CAB
  51. Generates a cabfile with containing ONLY the files <file1> <file2>....<fileN> and names it:
  52. <MyCabfileName>.CAB
  53. ie. MyOwnCabFileName.CAB
  54. C) d:\>Cabbit.exe <file1> <file2> <fileN> /a: <Suffix>.CAB
  55. Cabbit.exe will generate a cabfile containing default files and name it with the format:
  56. <ComputerName>_mmddyyHHMMSS_<Suffix>.CAB
  57. ie. JOHNDOE5_102199125930_BVT.CAB
  58. =========================
  59. ==== Drop Location ====
  60. =========================
  61. \\mpc\latest\English\tests\RETAIL\x86\Client\Restore\TstTools\Cabbit