Question

Locked

bat files

By trevor ·
how do you write a bat fie for a network printer?

and if you can bat. on roaming profiles as well ?

please thankx

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

bat file

by animatech In reply to bat files

Open notepad and write your network printer script.
Once that done click save as and put in xxx.bat where xxx is your file name.
This will create a bat file.
And sure you can use it in roaming profiles - login script is one example for a BAT file used in roaming profiles.

Collapse -

thankx

by trevor In reply to bat file

but how do you write the logon script
i know net use x:\\server\share\name for mapping network drives but for printers and roaming profiles i need help

Collapse -

VBScript

by dan.cox In reply to thankx

I learned to do all this stuff in VBScript and have come to realize how much more robust VBScript is.
Check out this as a good source to learn it.

http://www.microsoft.com/technet/scriptcenter/default.mspx

You can find all sorts of example scripts to do all the things you would need. For example look at these links.

Printer:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan05/hey0113.mspx

Map Drives:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec04/hey1210.mspx

http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct07/hey1012.mspx

The Microsoft Scripting Guys are a great source for VB script.

Hope this helps.
You can also google Login Scripts to get examples of those.

Back to Networks Forum
4 total posts (Page 1 of 1)  

Hardware Forums