How do you save your results to a variable in DOS? I'm still working with the Windows 98 version of DOS on this particular machine. I've been able to use the FIND command to count the number of results I find in a file, but I can't figure out how to save those results to a variable so I can compare results. I have another program constantly adding things to the file, so I would like to be able to tell when certain things are added.
________________________
things to do in au ~ dark fruit cake recipe
variable in DOS
Moderator: DosItHelp
variable in DOS
Last edited by feboleena on 25 Mar 2013 23:43, edited 1 time in total.
Re: variable in DOS
You can use a qbasic script, a third party tool, or use the date command with temporary files to capture the output of FIND.
Win9x is 15+ years old now and doesn't have good support for batch tasks like NT class Windows does.
Win9x is 15+ years old now and doesn't have good support for batch tasks like NT class Windows does.