-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
| cd /d "!HDDPATH!" |
File Path does not allow previously mounted UNC/network paths to be used since the program runs under admin privileges and cannot access the previously mounted drives
The example code works for me and should require minimal edits to integrate it into the code base.
"%~dp0BAT\Diagbox" gd 06
"%~dp0BAT\Diagbox" gd 0f
echo\
echo Do you want to setup windows network file share?
ECHO.
ECHO [1] Yes
ECHO [2] No
ECHO.
"%~dp0BAT\Diagbox" gd 0f
CHOICE /C 12 /M "Select Option:"
if !errorlevel!==1 (
echo UNC PATH Example \\server\sharename
set /p "UNCPATH=Enter the path where your PS2 Games are located:"
if "!UNCPATH!"=="" set "UNCPATH="
net use * "!UNCPATH!" /persistent:no
net use
)
pause & (goto mainmenu)
Metadata
Metadata
Assignees
Labels
No labels