Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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