PRB: XP_CMDSHELL Does Not Work with XCOPYLast reviewed: April 8, 1997Article ID: Q152134 |
The information in this article applies to:
SYMPTOMSXP_CMDSHELL does not work with XCOPY. When tried, the XP_CMDSHELL always returns "0 rows affected," and files and directories are not copied. The same XCOPY command works fine from the command prompt.
CAUSECertain commands such as XCOPY sometimes expect input from the user. Because of this, they must be assigned an input handle. Since we do not create the process with an input handle assigned, it fails.
WORKAROUNDUse the COPY command instead.
|
Additional query words: extended stored procedure
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |