[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: vDos users: be aware: can't print again if prior print has locked the port
- Subject: Re: vDos users: be aware: can't print again if prior print has locked the port
- From: Harry Binswanger hb@xxxxxxxx
- Date: Tue, 20 Sep 2016 19:33:42 -0400
And I'm always the one who's answering friends' questions with "Google it"!
The stackoverflow answer was illuminating. I didn't know anyone other than
us was still messing with DOS .BAT files.
--Harry
Harry,
del/q PCLPRINT.PDF >nul 2>nul
what is ">nul 2>nul" doing?
Muzzles the command's standard output and error output. May be
belt-and-suspenders with the /q switch, but no matter.
http://lmgtfy.com/?q=%3Enul+2%3Enul+in+batch+file
--
Carl Distefano
cld@xxxxxxxx