Posted by 20080403 on April 03, 2008 at 03:07:41:
In Reply to: Re: Oops - I ran into a problem trying to use DOS to write to an html file posted by JB on April 01, 2008 at 14:32:28:
: Doesn't work on my WIN 98 system, but it DOES
: work on my WIN XP system. Odd.
:
: Let's see if I've got it right. Here's a
: description of what I put in my batch file:
:
: for %%x in (apple quotemark lessthananglebracket
: orange greaterthananglebracket quotemark pear)
: do echo %%x >> fubar.txt
:
: On the WIN 98 computer it does write the word
: apple to the fubar.txt file, but then it bombs
: with a FILE NOT FOUND error.
:
: Any idea why it works on XP DOS but not on WIN98
: DOS?
##
Two different operating systems (from the same manufacturer). Windows 1-3.x, Windows 95, Windows 98 and Windows Me are all MS-DOS based. Windows 2000, Windows XP and Windows Vista are based on Windows NT.
Do a "for /?" on Windows 98 and then on XP. Quite a bit of difference.