uhhh..ansi.sys is your low level device driver that tells your monitor how do deal with things like clear screen, backspace, etc..
if edit didn't work, you were probably not in the same subdirectory that edit.com was located in...for windows 98 it's in \windows\command\
other OS's are similar..
It's just as easy to find it in windows using search, and the copy it to the root , in most cases C:\ where it will be easy to access under dos
another option is to add the line
path = c:\windows\command
to either your autoexec.bat or just type it in when you enter dos..
hmmm.haven't done much dos since, oh maybe 1990...still remeber a bit anyways..