@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
|C# code editing and collaboration||3||99|
|bash while loop reading input from data section in script||7||65|
|Full Screen problem when auto scale IFRAME||2||65|
|access denied when running native SQL tool: SQLIOSIM||2||26|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
24 Experts available now in Live!