![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Map network share without drive ? Hello, I can map network share using Network.MapNetworkDrive , but I don't want to use network drive letter. Like in "net use \\serv\share /u:user pass" I there a way to map network share without drive letter other than executing cmd.exe with command above ? thanks Vilius |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Map network share without drive ? Try this: Dim WinExec, objFSO, WshShell, WSHNetwork Set WSHNetwork = WScript.CreateObject("WScript.Network") Set WinExec = CreateObject("WScript.Shell") WSHNetwork.MapNetworkDrive "H:", "\\Server\C$","False","domain\user","" WSHNetwork.MapNetworkDrive "I:", "\\Server\C$","False","domain\user","" WSHNetwork.MapNetworkDrive "J:", "\\Server\e$","False","domain\user","" WScript.Quit reggards "Vilius Mockûnas" <v_mockunas@xxxxxx> wrote in message news:OQXhdGJJKHA.5956@xxxxxx Quote: > Hello, > > I can map network share using Network.MapNetworkDrive , but I don't want > to use network drive letter. > Like in "net use \\serv\share /u:user pass" > > I there a way to map network share without drive letter other than > executing cmd.exe with command above ? > > thanks > Vilius > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Can I share my DVD drive with XP Home user on my network | Vista networking & sharing | |||
| can i automatically detect a usb drive and activate a network share? | Network & Sharing | |||
| Network Share Drive Letters Disappearing | Network & Sharing | |||
| Windows Calendar - Share on a Network Drive?? | Vista mail | |||
| Cannot copy file from network share on NTFS drive to local NTFS drive | Vista General | |||