Hi,
I have a batch file setup to install a printer on a remote computer. It
works fine by itself. But I have a number of computers I want to install
this printer on so I setup another batch file that simply has a number of
calls to the first batch file thinking it would simply run down the list but
it doesn't. It seems to run the first command and then exit. What's the
trick? Here are my batch files:
Remote_Install_TPN_Therm_Printer.cmd
rundll32 printui.dll, PrintUIEntry /ga /n\\cmw-file2\TPN_Thermal_Labels
/c\\%1
Install_TPN_Therm.bat
Remote_Install_TPN_Therm_Printer.cmd chart409 > TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart485 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart441 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart437 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart447 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart453 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart403 >> TPN_Therm_instal.log
Remote_Install_TPN_Therm_Printer.cmd chart417 >> TPN_Therm_instal.log
pause
TPN_Therm_instal.log
H:\New System Setup\Remote>rundll32 printui.dll, PrintUIEntry /ga
/n\\cmw-file2\TPN_Thermal_Labels /c\\chart409
That's all I get in the log file. Is there some command I need to include
in my Install_TPN_Therm.bat file?
Thanks in advance,
Linn
Bookmarks