NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
THN
Dec 29, 2008Aspirant
Script to Connect to Network Drive
Good Day all, I've gleaned so much information from these posts, that I thought it's time for me to contribute something, as well. So, here we go: I have created a little vbscript, which can be...
daztrue
Sep 09, 2011Aspirant
I've had this thread referred to me, which may be of help (and I do want to map shares etc.), but I just wondered if any of you have come across (or can solve :lol: ) the following symptoms:
Typically(!), the icon for my NAS (as a device), along with icons for add-ons all appear, along with the blue icons for my wireless laptop and (if on) my main PC. However, the blue icon for my NAS hasn't displayed for ages. It's usually fine on my wired PC (although there's been the odd moment), and I've tried so many options. I've even had long phone consultations with Netgear, whose engineers have tried to resolve the issue.
I can easily make the blue icon appear (and thus access the NAS) by entering the IP, but it won't automatically appear with its hostname. :evil:
Batch file:
@lordoflard (or whoever wants to add another two penn'orth!) Does your post mean the batch file would look like this:
...with the second line used for each share/folder mapped? And that would be it?
And not to appear thick (just safe!), :roll: do I take it that batch files would be stored in the following as relevant?
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
VBScript:
@THN @dbott67 I did a 'bit' of VB once and so am able to fumble-read the script, but want to confirm: would separate .vbs files still be necessary for each Windows account as well as each mapped share? If so, how does this differ from the batch file option?
Typically(!), the icon for my NAS (as a device), along with icons for add-ons all appear, along with the blue icons for my wireless laptop and (if on) my main PC. However, the blue icon for my NAS hasn't displayed for ages. It's usually fine on my wired PC (although there's been the odd moment), and I've tried so many options. I've even had long phone consultations with Netgear, whose engineers have tried to resolve the issue.
I can easily make the blue icon appear (and thus access the NAS) by entering the IP, but it won't automatically appear with its hostname. :evil:
Batch file:
@lordoflard (or whoever wants to add another two penn'orth!) Does your post mean the batch file would look like this:
net use \\%NASname% /user:%NASuser% "%NASpass%" /persistent:no
net use Z: \\%NASname%\ShareName
...with the second line used for each share/folder mapped? And that would be it?
And not to appear thick (just safe!), :roll: do I take it that batch files would be stored in the following as relevant?
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
VBScript:
@THN @dbott67 I did a 'bit' of VB once and so am able to fumble-read the script, but want to confirm: would separate .vbs files still be necessary for each Windows account as well as each mapped share? If so, how does this differ from the batch file option?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!