Aug 11, 2017 · Mapping a network drive to a shared folder from Windows’ graphic interface isn’t hard. But if you already know the network path for the shared folder, you can map drives a lot quicker using the Command Prompt. Mapping a drive to a network share assigns that share a drive letter so that it’s easier to work with.

(Solved) - How to make a BAT file to make Network Drive 2012-4-17 · If you want to create a batch file to map a network drive. Open up notepad and type the following. net use drive letter:\\servername\foldername. So if the drive letter was f. net use f: \\servername\foldername [color=red]corrected[/color] Then save the file as whatevername.bat. Edit by mod, net use f: \\servername\foldername corrected How To Create A Windows Batch File To Map Multiple Drives devicename = the dive letter for the map drive. computername = is the computeer wher the share exists. sharename = is the name of the share. So to create a batch file that will map a drive to different computers that are sharing folders, we'll use the following commands: net use W: \\computer1\MP3 . net use X: \\computer2\Photos สร้างไฟล์ Map Drive ที่ระบุ User และ Password 5. Rename Extension file จาก .txt เป็น .bat 6. Double Click file ชื่อ MapDrive.bat 7. เปิด My Computer ดูว่ามี Drive T ขึ้นมา 8. สามารถใช้ File นี้ได้กับทุกเครื่องที่อยู่ในวง network เดียวกัน จบ create bat file to map drive - TechRepublic


Mar 17, 2020 · Execute the net use command alone to show detailed information about currently mapped drives and devices. devicename: Use this option to specify the drive letter or printer port you want to map the network resource to. For a shared folder on the network, specify a drive letter from D: through Z:, and for a shared printer, LPT1: through LPT3:. On Win7, when I did “net use” to list all network mapped drives. It has one line that the drive was mapped to say \\xxxx\folder1 without a drive letter. I wanted to remove this particular one. I tried “net use /del \\xxxx\folder1” for example it also removed OK from the mapped network drive list. I remapped \\xxxx\folder1 and it worked OK. Nov 03, 2004 · I was writing a batch file to map my network drive. It successful map the drive, but something is different here. Example in the script: Net use M:\\servername\IT. So, you should see your mapped drive is : IT on ‘servername'(M:) but what I see here is: IT on ‘servername'(servername)(M:) why the (servername) show overthere ? Pls advise. Thanks.

Create (or download and store) a file in your U:\ drive (directly in the main or 'root' folder, not a sub-folder). You can create this file with a text editor (Note Pad, not MS Word). Name this file PersonalLoginScript.bat . In your PersonalLoginScript.bat file, type one or more of the following lines (as needed): net use s: \\msfs-class1\class1