OK, ill make it simple with an example. Lets say I type dir and get this (I really do on me newly formatted laptop)
AUTOEXEC.BAT
COMMAND.COM
QBASIC [DIR]
EDIT.BAT
RUN.BAT
Now, how do I get that information? Like, lets say I wanna see all the dirs. How can I get them? I hope this made sense; I did as much second hand research as possible (meh).
Reading form the DOS enviornment
Code: Select all
SHELL "Dir *.* > temp.ttp"
Open "temp.ttp" for intput as #1
'read
Close #1
I have left this dump.