Changeset 2234


Ignore:
Timestamp:
8/4/2010 10:01:58 AM (4 years ago)
Author:
lowjoel
Message:

Remove the querymethods command, display all the registered erasure methods in the Help command.

Location:
trunk/eraser/Eraser
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/Program.cs

    r2233 r2234  
    260260                    program.Handlers.Add("help", 
    261261                        new ConsoleActionData(CommandHelp, new ConsoleArguments())); 
    262                     program.Handlers.Add("querymethods", 
    263                         new ConsoleActionData(CommandQueryMethods, new ConsoleArguments())); 
    264262                    program.Handlers.Add("addtask", 
    265263                        new ConsoleActionData(CommandAddTask, new AddTaskArguments())); 
     
    304302            } 
    305303 
     304            //Get the list of registered Erasure Methods. First, output the header. 
     305            const string methodFormat = "    {0,-2} {1,-35} {2}\n"; 
     306            StringBuilder methods = new StringBuilder(); 
     307            methods.AppendFormat(methodFormat, "", "Erasure Method", "GUID"); 
     308            methods.AppendLine("    " + new string('-', 75)); 
     309 
     310            //Generate the list of erasure methods. 
     311            foreach (ErasureMethod method in ManagerLibrary.Instance.ErasureMethodRegistrar) 
     312            { 
     313                methods.AppendFormat(methodFormat, (method is UnusedSpaceErasureMethod) ? 
     314                    "U" : "", method.Name, method.Guid); 
     315            } 
     316 
    306317            //Print the message 
    307318            Console.WriteLine(S._(@"usage: Eraser <action> <arguments> 
     
    309320  help                Show this help message. 
    310321  addtask             Adds a task to the current task list. 
    311   querymethods        Lists all registered Erasure methods. 
    312322  importtasklist      Imports an Eraser Task list to the current user's Task 
    313323                      List. 
     
    332342                      is next restarted. 
    333343 
    334   where target is one of more of: 
     344  where methodGUID and methodName any GUID/Name from the following list: 
    335345{0} 
    336  
    337 parameters for querymethods: 
    338   eraser querymethods 
    339  
    340   no parameters to set. 
     346  Only erasure methods labelled ""U"" can be used to erase unused disk space. 
     347 
     348where target is one or more of: 
     349{1} 
    341350 
    342351parameters for importtasklist: 
     
    351360""@"" to the path to the file, and passing it into the command line. The 
    352361contents of the response files' will be substituted at the same position into 
    353 the command line.", targets)); 
     362the command line.", methods, targets)); 
    354363 
    355364            Console.Out.Flush(); 
     
    368377 
    369378            PrintCommandHelp(); 
    370         } 
    371  
    372         /// <summary> 
    373         /// Lists all registered erasure methods. 
    374         /// </summary> 
    375         /// <param name="arguments">Not used.</param> 
    376         private static void CommandQueryMethods(ConsoleArguments arguments) 
    377         { 
    378             //Output the header 
    379             const string methodFormat = "{0,-2} {1,-39} {2}"; 
    380             Console.WriteLine(methodFormat, "", "Erasure Method", "GUID"); 
    381             Console.WriteLine(new string('-', 79)); 
    382  
    383             //Refresh the list of erasure methods 
    384             foreach (ErasureMethod method in ManagerLibrary.Instance.ErasureMethodRegistrar) 
    385             { 
    386                 Console.WriteLine(methodFormat, (method is UnusedSpaceErasureMethod) ? 
    387                     "U" : "", method.Name, method.Guid.ToString()); 
    388             } 
    389379        } 
    390380 
  • trunk/eraser/Eraser/Strings.en.resx

    r2233 r2234  
    160160    <value>Another instance of Eraser is already running but it is running with higher privileges than this instance of Eraser. Tasks cannot be added in this manner.\n\nClose the running instance of Eraser and start it again without administrator privileges, or run the command again as an administrator.</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163     <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     163    <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
    164164  </data> 
    165165  <data name="Eraser {0}\r\n(c) 2008-2010 The Eraser Project\r\nEraser is Open-Source Software: see http://eraser.heidi.ie/ for details.\r\n" xml:space="preserve"> 
  • trunk/eraser/Eraser/Strings.it.resx

    r2233 r2234  
    160160    <value>(Untranslated)</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163163    <value>(Untranslated)</value> 
    164164  </data> 
  • trunk/eraser/Eraser/Strings.nl.resx

    r2233 r2234  
    160160    <value>(Untranslated)</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163163    <value>(Untranslated)</value> 
    164164  </data> 
  • trunk/eraser/Eraser/Strings.pl.resx

    r2233 r2234  
    160160    <value>(Untranslated)</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163163    <value>(Untranslated)</value> 
    164164  </data> 
  • trunk/eraser/Eraser/Strings.resx

    r2233 r2234  
    160160    <value>Another instance of Eraser is already running but it is running with higher privileges than this instance of Eraser. Tasks cannot be added in this manner.\n\nClose the running instance of Eraser and start it again without administrator privileges, or run the command again as an administrator.</value> 
    161161  </data> 
    162   <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
    163     <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  querymethods        Lists all registered Erasure methods.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where target is one of more of:\r\n{0}\r\n\r\nparameters for querymethods:\r\n  eraser querymethods\r\n\r\n  no parameters to set.\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
     162  <data name="usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line." xml:space="preserve"> 
     163    <value>usage: Eraser &lt;action&gt; &lt;arguments&gt;\r\nwhere action is\r\n  help                Show this help message.\r\n  addtask             Adds a task to the current task list.\r\n  importtasklist      Imports an Eraser Task list to the current user's Task\r\n                      List.\r\n\r\nglobal parameters:\r\n  /quiet              Do not create a Console window to display progress.\r\n\r\nparameters for help:\r\n  eraser help\r\n\r\n  no parameters to set.\r\n\r\nparameters for addtask:\r\n  eraser addtask [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] [/schedule=(now|manually|restart)] &lt;target&gt; [target [...]]\r\n\r\n  /method             The Erasure method to use.\r\n  /schedule           The schedule the task will follow. The value must be one\r\n                      of:\r\n      now             The task will be queued for immediate execution.\r\n      manually        The task will be created but not queued for execution.\r\n      restart         The task will be queued for execution when the computer\r\n                      is next restarted.\r\n\r\n  where methodGUID and methodName any GUID/Name from the following list:\r\n{0}\r\n  Only erasure methods labelled U can be used to erase unused disk space.\r\n\r\nwhere target is one or more of:\r\n{1}\r\n\r\nparameters for importtasklist:\r\n  eraser importtasklist &lt;file&gt;[...]\r\n\r\n    file               A list of one or more files to import.\r\n\r\nAll arguments are case sensitive.\r\n\r\nResponse files can be used for very long command lines (generally, anything\r\ninvolving more than 32,000 characters.) Response files are used by prepending\r\n@ to the path to the file, and passing it into the command line. The\r\ncontents of the response files' will be substituted at the same position into\r\nthe command line.</value> 
    164164  </data> 
    165165  <data name="Eraser {0}\r\n(c) 2008-2010 The Eraser Project\r\nEraser is Open-Source Software: see http://eraser.heidi.ie/ for details.\r\n" xml:space="preserve"> 
Note: See TracChangeset for help on using the changeset viewer.