At work I sometimes need to access any one of a number of network shares to view certain logs. The path is static \\hostname\share_folder_name
but there are almost 50 servers setup like this which may need to be accessed.
Right now I have a basic batch written which will map the share for me, but currently it is specific only to the single host defined in the .bat
file.
Example:
netuse A:\\\server1234\share_folder_name
I'd like to rewrite it so that it will prompt me to input ONLY the hostname each time as it's executed. (That way I don't have to modify it 50 different times).