XL: Cannot Use ERASE in a Batch File Run by SHELL FunctionLast reviewed: October 24, 1997Article ID: Q152342 |
The information in this article applies to:
WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
SUMMARYWhen you use the Visual Basic for Applications SHELL function to run a batch file that contains the MS-DOS ERASE command, it may return the following error message:
Run Time Error 5 Invalid procedure call WORKAROUNDUse the MS-DOS DEL command in the batch file instead of the MS-DOS ERASE command.
|
Additional query words: 5.00 rte 5.00a 5.00c 7.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |