Link to home
Create AccountLog in
Avatar of ISUY
ISUYFlag for Uruguay

asked on

Print each file in a directory

Hello, I need to create a BAT file to print all files in a specific directory, I do´t need to print the list of files in the directory, I need to print each file.
Also the name of the files change each day.
All files are text files, but not with the extension ".txt"

Thanks
Avatar of acerimmer10
acerimmer10
Flag of Australia image

Have a look at the PrintAny.bat section at the bottom of the page on this website..

http://www.robvanderwoude.com/printfiles.php
ASKER CERTIFIED SOLUTION
Avatar of aavictor
aavictor

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of ISUY

ASKER

ok, I did this:

for %%A in ("c:\temp\1\*.*") do start /w notepad /p "%%A"

Thks you all
Avatar of ISUY

ASKER

thanks