winpython / winpython

A free Python-distribution for Windows platform, including prebuilt packages for Scientific Python.
https://winpython.github.io/
MIT License
1.81k stars 300 forks source link

UNC Paths #511

Open MortalCatalyst opened 7 years ago

MortalCatalyst commented 7 years ago

Hi

trying to update winpython batfiles so I can use it at work currently I am receiving a UNC error for example starting winpython command prompt.

'\\INT\UserData\Regionals\*StaffID*\WinPython-32bit-3.6.0.1Qt5\scripts'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
'cmd.bat' is not recognized as an internal or external command,
operable program or batch file.

Trying to update cmd.bat as per this solution [http://stackoverflow.com/a/9020832/461887](pushd on SO)

However it still fails. This is my updated winpython cmd.bat

@echo off
pushd %~dp0
call "%~dp0env_for_icons.bat"
cmd.exe /k

Any advice?

stonebig commented 7 years ago

net use m: \\INT\UserData\Regionals\*StaffID*

(there is no workaround, believe me)