Computing.Net > Forums > Windows 2000 > Printing an HTML file from DOS Batchfile

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Printing an HTML file from DOS Batchfile

Reply to Message Icon

Name: sm
Date: July 11, 2002 at 08:48:24 Pacific
Comment:

Hi,
I'm having a problem with my MSDOS batch file, i'm running it on Windows 2000.
I need to print all the .html files in a directory in their html format.
I'm using this:
for %%x in (*.html) do start notepad.exe /p "%%x"

It works with notepad but that prints the html code. I cant seem to print from word or iexplore (by substituting notepad.exe with winword.exe/iexplore.exe) it crashes.

Any help would be appreciated!
Thanks in advance.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Printing an HTML file from DOS Batchfile

printing multiple txt files from DOS www.computing.net/answers/windows-2000/printing-multiple-txt-files-from-dos/35425.html

command line printing of pdf file www.computing.net/answers/windows-2000/command-line-printing-of-pdf-file/56667.html

Deleting the SAM file from DOS www.computing.net/answers/windows-2000/deleting-the-sam-file-from-dos/30473.html