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)
https://github.com/GDX-X/PFS-BatchKit-Manager/blob/8ecd749ca114f84c64a30d9483199ac8f4d68f2b/PFS-BatchKit-Manager/!PFS-BatchKit-Manager.bat#L1202
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.