Changeset 2236 for trunk/eraser


Ignore:
Timestamp:
08/04/10 10:26:21 (4 years ago)
Author:
lowjoel
Message:

Define the eraser erase command that is shorthand for eraser addtask /schedule=now.

Location:
trunk/eraser/Eraser
Files:
6 edited

Legend:

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

    r2235 r2236  
    7777        { 
    7878            /// <summary> 
     79            /// Constructor. 
     80            /// </summary> 
     81            public ConsoleArguments() 
     82            { 
     83            } 
     84 
     85            /// <summary> 
     86            /// Copy constructor. 
     87            /// </summary> 
     88            /// <param name="arguments">The <see cref="ConsoleArguments"/> to use as a template 
     89            /// for this instance.</param> 
     90            protected ConsoleArguments(ConsoleArguments arguments) 
     91            { 
     92                Action = arguments.Action; 
     93                PositionalArguments = arguments.PositionalArguments; 
     94            } 
     95 
     96            /// <summary> 
    7997            /// The Action which this handler is in charge of. 
    8098            /// </summary> 
     
    88106        } 
    89107 
    90         class AddTaskArguments : ConsoleArguments 
    91         { 
     108        class EraseArguments : ConsoleArguments 
     109        { 
     110            /// <summary> 
     111            /// Constructor. 
     112            /// </summary> 
     113            public EraseArguments() 
     114            { 
     115            } 
     116 
     117            /// <summary> 
     118            /// Copy constructor. 
     119            /// </summary> 
     120            /// <param name="arguments">The <see cref="EraseArguments"/> to use as a template 
     121            /// for this instance.</param> 
     122            protected EraseArguments(EraseArguments arguments) 
     123                : base(arguments) 
     124            { 
     125                ErasureMethod = arguments.ErasureMethod; 
     126            } 
     127 
    92128            /// <summary> 
    93129            /// The erasure method which the user specified on the command line. 
     
    95131            [Arg("method", "The erasure method to use", typeof(string), false, null, null)] 
    96132            public string ErasureMethod { get; set; } 
     133        } 
     134 
     135        class AddTaskArguments : EraseArguments 
     136        { 
     137            /// <summary> 
     138            /// Constructor. 
     139            /// </summary> 
     140            public AddTaskArguments() 
     141            { 
     142            } 
     143 
     144            /// <summary> 
     145            /// Constructs Add Task arguments from Erase arguments. 
     146            /// </summary> 
     147            /// <param name="arguments">The <see cref="EraseArguments"/> to use as a template 
     148            /// for this instance.</param> 
     149            internal AddTaskArguments(EraseArguments arguments) 
     150                : base(arguments) 
     151            { 
     152            } 
    97153 
    98154            /// <summary> 
     
    260316                    program.Handlers.Add("help", 
    261317                        new ConsoleActionData(CommandHelp, new ConsoleArguments())); 
     318                    program.Handlers.Add("erase", 
     319                        new ConsoleActionData(CommandErase, new EraseArguments()));  
    262320                    program.Handlers.Add("addtask", 
    263321                        new ConsoleActionData(CommandAddTask, new AddTaskArguments())); 
     
    319377where action is 
    320378  help                Show this help message. 
     379  erase               Erases items specified on the command line. This is 
     380                      equivalent to addtask, with the schedule set to ""now"". 
    321381  addtask             Adds a task to the current task list. 
    322382  importtasklist      Imports an Eraser Task list to the current user's Task 
     
    331391  no parameters to set. 
    332392 
    333 parameters for addtask: 
     393parameters for erase and addtask: 
     394  eraser erase [/method=(<methodGUID>|<methodName>)] <target> [target [...]] 
    334395  eraser addtask [/method=(<methodGUID>|<methodName>)] [/schedule=(now|manually|restart)] <target> [target [...]] 
    335396 
     
    346407                      is next restarted. 
    347408 
     409                      This parameter is only valid for use with ""addtask"". 
     410 
    348411  target is one or more of: 
    349412{1} 
     
    376439 
    377440            PrintCommandHelp(); 
     441        } 
     442 
     443        /// <summary> 
     444        /// Parses the command line for tasks and adds them to run immediately 
     445        /// using the <see cref="RemoveExecutor"/> class. 
     446        /// </summary> 
     447        /// <param name="arg">The command line parameters passed to the program.</param> 
     448        private static void CommandErase(ConsoleArguments arg) 
     449        { 
     450            AddTaskArguments arguments = new AddTaskArguments((EraseArguments)arg); 
     451            arguments.Schedule = "NOW"; 
     452 
     453            CommandAddTask(arguments); 
    378454        } 
    379455 
  • trunk/eraser/Eraser/Strings.en.resx

    r2235 r2236  
    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  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    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\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  target is one or more of:\r\n{1}\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    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\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  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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

    r2235 r2236  
    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  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    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\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  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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

    r2235 r2236  
    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  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    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\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  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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

    r2235 r2236  
    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  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    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\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  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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

    r2235 r2236  
    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  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    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\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  target is one or more of:\r\n{1}\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    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\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  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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  erase               Erases items specified on the command line. This is\r\n                      equivalent to addtask, with the schedule set to now.\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 erase and addtask:\r\n  eraser erase [/method=(&lt;methodGUID&gt;|&lt;methodName&gt;)] &lt;target&gt; [target [...]]\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    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\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                      This parameter is only valid for use with addtask.\r\n\r\n  target is one or more of:\r\n{1}\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.