I would like a way to create a list in a text file of all the remote PC names i need to access then run the batch file to open all of them in separate windows.
Is this possible?
At the point the batch file asks for user input, I would prefer it refer to a text file, or even a list within this batch file, for the PC names. I will constantly edit the names and quantity as time goes on.
Code: Select all
@echo off
:: File to open Remote PC C drive locations in a separate Windows Explorer window
: Beginning
:: ask for PC name
echo.
:: SET /P _inputname= Enter remote computer name:
echo.
:: Launch explorer, \\PC name\c$
echo.
echo Opening Remote C Drive
start %SystemRoot%\explorer.exe \\%_inputname%\c$
goto :Beginning