Microsoft KB Archive/195896

= Forward Slash in Scheduled Task Command Changes to Backslash =

Article ID: 195896

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q195896



SYMPTOMS
If you create a scheduled task in which the command in the Run box is enclosed in quotation marks and contains a command-line switch using a forward slash, the forward slash becomes a backslash. For example, the command in the Run box changes from

  "C:\Program Files\Example.exe /x"

to:

  "C:\Program Files\Example.exe \x"



RESOLUTION
To work around this problem, edit the command in the Run box so that the command-line switch is outside of the quotation marks. For example, change the command in the Run box from

  "C:\Program Files\Example.exe /x"

to:

  "C:\Program Files\Example.exe" /x

To change the command in the Run box for a scheduled task:


 * 1) Double-click the Task Scheduler icon on the right side of the taskbar.
 * 2) Double-click the task you want to modify.
 * 3) Modify the contents of the Run box, and then click OK.
 * 4) Close the Scheduled Tasks window.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Windows 98.



MORE INFORMATION
If the command in the Run box for a scheduled task includes a path, and the path contains spaces, the path must be enclosed in quotation marks.

Keywords: kbprb KB195896

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.