If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Map drive with batch file....
I have a login batch file that runs when the user logs in. It maps a few
network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
Ads |
#2
|
|||
|
|||
Map drive with batch file....
Hi
If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#3
|
|||
|
|||
Map drive with batch file....
Hi
If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#4
|
|||
|
|||
Map drive with batch file....
No problem. My batch file is very simple...
(I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#5
|
|||
|
|||
Map drive with batch file....
No problem. My batch file is very simple...
(I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#6
|
|||
|
|||
Map drive with batch file....
Hi
Try to change the persistent to YES Jack (MS, MVP-Networking) "Calvin" wrote in message ... No problem. My batch file is very simple... (I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#7
|
|||
|
|||
Map drive with batch file....
Hi
Try to change the persistent to YES Jack (MS, MVP-Networking) "Calvin" wrote in message ... No problem. My batch file is very simple... (I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#8
|
|||
|
|||
Map drive with batch file....
We don't want to use persistent YES in this environment. Besides when I do
run persistent YES it still shows that "Mapping Network Drive" window with the Cancel button. I am trying to get rid of that coming up on the user's screen altogether. "Jack-MVP" wrote: Hi Try to change the persistent to YES Jack (MS, MVP-Networking) "Calvin" wrote in message ... No problem. My batch file is very simple... (I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
#9
|
|||
|
|||
Map drive with batch file....
We don't want to use persistent YES in this environment. Besides when I do
run persistent YES it still shows that "Mapping Network Drive" window with the Cancel button. I am trying to get rid of that coming up on the user's screen altogether. "Jack-MVP" wrote: Hi Try to change the persistent to YES Jack (MS, MVP-Networking) "Calvin" wrote in message ... No problem. My batch file is very simple... (I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName "Jack-MVP" wrote: Hi If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) "Calvin" wrote in message ... I have a login batch file that runs when the user logs in. It maps a few network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. |
Thread Tools | |
Display Modes | |
|
|