FOR Command Behaves Differently From Previous MS-DOS VersionsLast reviewed: October 3, 1995Article ID: Q134572 |
The information in this article applies to:
SYMPTOMSAfter you install Windows 95, you notice that batch files that use the FOR command with the slash (/) switch behave differently: For example, the following line
for %i in (/abcd) do echo %iprints
/ABCDwhereas in previous versions of MS-DOS it printed
A BCD CAUSEThe FOR command with the slash (/) switch in Command.com in Windows 95 behaves differently than it did in previous versions of Command.com.
RESOLUTIONRewrite batch files that use the FOR command with the slash (/) switch.
|
KBCategory: kbprg kbtool kbenv kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |