We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
@Echo off :Start Echo **** his script will map a network drive for you **** Cd %windir%\system32 Goto :PropertySet :PropertySet Echo **** Please Enter the Valid information **** Set /P DRIVE="Please Enter the Drive letter here:" Set /P PATH="Please Enter the Path here:" Pause Goto :MapDrives :MapDrives CLS Color 0f Echo **** Maping the Drive **** net use %DRIVE%: %PATH% If %ErrorLevel% equ 1 (Goto :Finish Else (Goto :Error) pause :Error Echo **** An Error has Occured Please make sure you selected a valid free drive letter and a the path you selected is correct. **** Pause Goto :Finish :Finish Echo **** This Operation has Finished Succesfuly **** :End pause exit
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.