Web Hosting, Design, & Coding forum


Shared folder - bat file

by IboAbraham / July 19, 2013 6:16 AM PDT

Hi guys!
I have a External HDD connected to my router on network. I need to make a bat file where it logon into my shared folder on HDD.

My location folder is:
\\DELT-malek\Kvitteringer - will have k:\
\\DELT-malek\Ibo - will have s:\

I need to set username and password too... so I hope somebody can help me with this! Happy

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: Shared folder - bat file
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Shared folder - bat file
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Clarification Request
Small world.
by R. Proffitt Forum moderator / July 19, 2013 6:27 AM PDT

I have a Netgear WNDR3800 that has such and can use the NET USE command to map this to a drive letter.

But what is this logon? It's not exactly a logon but is indeed a name and password.
As the NET USE command is widely documented, I'll stop here.

Collapse -
Shared folder - bat file
by IboAbraham / July 19, 2013 8:01 AM PDT
In reply to: Small world.

I need to connect my shared folders on my computer. When I connect to to my shared folder manually, then it require username and password.

When I make connection to a shared folder with a drive letter, it won't work next time I startup computer until I do it manually.

So I hope a batch file on startup-folder will resolve this problem Happy

Collapse -
As NET USE is well documented.
by R. Proffitt Forum moderator / July 19, 2013 8:18 AM PDT

I didn't write the batch file for you. But are you saying the map isn't there after a proper reboot?

Why I used the word proper was an incident last year where the client was griping about this and we went over and they demonstrated it. So they made then map then flipped the power off on the power bar.

Sure enough it didn't say the mapped drive.
http://www.sevenforums.com/network-sharing/51085-mapped-drive-not-connecting-startup.html covers more.

All Answers

Collapse -
PS. Just a tip.
by R. Proffitt Forum moderator / July 19, 2013 6:28 AM PDT

For shares, folder names and well most things Windows, avoid non-alphanumeric characters and think old school 8.3 naming.

Popular Forums
Computer Help 49,613 discussions
Computer Newbies 10,349 discussions
Laptops 19,436 discussions
Security 30,426 discussions
TVs & Home Theaters 20,308 discussions
Windows 10 360 discussions
Phones 15,802 discussions
Windows 7 7,351 discussions
Networking & Wireless 14,641 discussions


$16,000 used SUVs

Whether you like your SUVs cute or capable, or some blend of the two, we've got a wide variety of choices in Roadshow's first collection of Editors' Used Picks.