Cli2Program.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. namespace SvdCli
  3. {
  4. internal static class Cli2Program
  5. {
  6. private static void Main(string[] args)
  7. {
  8. if (args.Length < 2)
  9. {
  10. Console.WriteLine(@"Usage: svd <key:value>[,...]");
  11. Console.WriteLine(@" * Create Raw Disk Image svd OP:Create TYPE:Raw SIZE:50GB PATH:C:\Path\To\Your\Image.img");
  12. Console.WriteLine(@" * Create Standalone Bdd Image svd OP:Create TYPE:Bdd SIZE:10GB STRIP:64KB PATH:C:\Path\To\Your\Image.bdd");
  13. Console.WriteLine(@" * Create Snapshot Bdd Image svd OP:Create TYPE:Bdd STRIP:64KB PATH:C:\Path\To\Your\Image.bdd BASE:C:\Path\To\Your\Image.img");
  14. Console.WriteLine(@" * Mount Local RamDisk svd OP:Mount TYPE:RamDisk SIZE:10GB [FS:NTFS] [TEMP:YES] [LETTER:Z]");
  15. Console.WriteLine(@" * Mount Image svd OP:Mount TYPE:Image PATH:C:\Path\To\Your\Image.bdd");
  16. Console.WriteLine(@" * Optimization Image svc OP:Compact PATH:C:\Path\To\Your\Bdd.bdd");
  17. Console.WriteLine(@" svd OP:Mount TYPE:Image PATH:C:\Path\To\Your\Image.img");
  18. Console.WriteLine(@" svd OP:Mount TYPE:Net SERVER:192.168.233.233:23333 [LETTER:Z]");
  19. Console.WriteLine(@" * Server svd OP:Server LISTEN:0.0.0.0:23333 TYPE:<Image|RamDisk>");
  20. Console.WriteLine(@" svd OP:Server LISTEN:0.0.0.0:23333 TYPE:DispatchBdd STRIP:64KB PATH:C:\Path\To\Your\Image.img BDD:C:\Path\To\Your\Dir\");
  21. Console.WriteLine(@" svd OP:Server LISTEN:0.0.0.0:23333 TYPE:DispatchRamDisk SIZE:10GB [FS:NTFS] [TEMP:YES]");
  22. Console.WriteLine(@" * Windows Service svd SVC:Install SVC.NAME:TheServiceName ...");
  23. Console.WriteLine(@" svd SVC:Uninstall SVC.NAME:TheServiceName");
  24. Console.WriteLine(@" svd SVC:Run ...");
  25. Console.WriteLine(@" ** Fork sub process svd OP:ForkBdd SOCKET:HandleHex PATH:C:\Path\To\Your\MAC.bdd");
  26. return;
  27. }
  28. }
  29. }
  30. }