Command Extensions Cause Access Violation in Cmd.exeLast reviewed: May 19, 1997Article ID: Q157745 |
The information in this article applies to:
SYMPTOMSWhen you run CMD or BAT files that use the Windows NT command extension syntax, access violations in Cmd.exe may occur. For example, create the following Test.cmd file:
FOR /R C:\ %%f in (iexplore.exe, patchdll.dll, srv.sys) do if exist %%f echo %%fAn error message will be displayed:
Application Error: The instruction at "0x77f646ce" referenced memory at "0x0073006f". The memory could not be read.NOTE: The address values may be different on your system. Results may vary, depending on what group of files is contained in the set. A Dr. Watson error may be one such occurrence. Usually, there is no error if the set contains only a single file.
STATUSMicrosoft has confirmed this to be a problem in Windows NT version 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K |
Additional query words: 4.00 prodnt cmd command extensions
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |