ISUY
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
Also the name of the files change each day.
All files are text files, but not with the extension ".txt"
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
ok, I did this:
for %%A in ("c:\temp\1\*.*") do start /w notepad /p "%%A"
Thks you all
for %%A in ("c:\temp\1\*.*") do start /w notepad /p "%%A"
Thks you all
ASKER
thanks
http://www.robvanderwoude.com/printfiles.php