If all you want is a list of files and directories in a directory…

veach /a+ /d *.* /l >out.txt

VEACH is part of V8Power Tools that comes with FreeDOS. However, there have 
been important updates to V8Power Tools since the 1.3-RC4 release. I recommend 
updating the version you have to the latest one available at 
https://fd.lod.bz/repos/current/pkg-html/v8power.html 
<https://fd.lod.bz/repos/current/pkg-html/v8power.html> or just waiting for 
FreeDOS 1.3-RC5 to be released very soon. 

Since a list of files is not very useful by itself, you can have veach perform 
commands on them. For example, if you want just executable files (and no 
directories) and to perform some kind of action, you could use:

veach /a- /d *.com /d *.exe /d *.bat /s /x SOMETHIN.BAT * 

That would provide a sorted list of COM, EXE and BAT files and run SOMETHIN.BAT 
with each one.

Kinda like

SOMETHIN.BAT PROG1.EXE
SOMETHIN.BAT PROG2.COM
SOMETHIN.BAT PROG3.BAT
SOMETHIN.BAT PROG3.EXE
etc.

Or...

You can use an alternate directory listing program. Like my ancient D.EXE ( 
https://github.com/shidel/DustyTP7/blob/master/bin/D.EXE 
<https://github.com/shidel/DustyTP7/blob/master/bin/D.EXE> ). It has several 
view options including meant for output to file.

:-)

Jerome

_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to