Net Session Command Does Not Interpret Redirected InputLast reviewed: June 12, 1995Article ID: Q131389 |
The information in this article applies to:
SYMPTOMSIf you create a batch file (for example, TEST) that contains a carriage return and linefeed character, and you direct this file to the NET SESSION command as follows,
NET SESSION /DELETE <TESTthe command will request a response with the statement,
Do you want to continue this operation(Y/N) [Y]but then it will return the error:
No valid response was provided.0D 0A (carriage return and linefeed) are valid characters.
WORKAROUNDTo work around this problem, add the /Y parameter to provide the default Yes response. For example:
NET SESSIONS /DELETE /YThe /Y parameter is not documented at this time.
STATUSMicrosoft has confirmed this to be a problem in Windows NT versions 3.1, 3.5, and 3.51. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
KBCategory: kbtool kbnetwork kbbug3.10 kbbug3.50 kbbug3.51
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |