Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.BAT to drag&drop a print file 1

Status
Not open for further replies.

Greg25

Technical User
May 30, 2001
159
0
0
US
This is what i have

Print /D:"\\computer name\Printer name" %1

any help on creating .bat file thanks Greg
X-)
 
I'm not sure if you are asking for help to create a bat file or if your code works?

Anyway, open a notepad file, type or cut and paste your code and save it as type "all files" and name it whatever.bat.

I use similar code to print directories in a file called (what else) printdir.bat I stuck this in my "sendto" directory and now I can right click on any directory and print it out with out going to a command prompt. The "CLS" just keeps things clean.

dir %1>\\server_name\printer_name:
cls

Good luck
 
any idea how to tie one of these bat files to the ctrl + p keystrokes?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top