ovo ti je skripta za ispis u text obliku:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad "%temp%\Listing"
exit
napisi to u nekom text editoru i samo rename-aj txt extenziju u bat.
za direktan ispis na printer, ovako izgleda:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit