Is there a command or script in Windows to print a file (various file types such as .doc .xls .txt .pdf) to the default printer?
As far as I know one usually has to execute the relevant application (Word, Excel, Notepad, Acrobat Reader) and ask it to print the file, but I could use a generic way of achieving this right now...