I run "net use / user:" Someone "\ somewhere" and it works well with cmd.exe.
With the same cmd.exe, run 'bash --login -i' to use cygwin / bash and run the same command, but I get the error message as follows.
System error 67 occurred.
Cannot find the network name.
Why can't I run net use / user command with cygwin / bash?
In cygwin bash, you need to avoid any of these forward backslashes, since they are interpreted as escape characters.
try it
net use /user:"Someone" \\\\server\\share
,
net use /user:"Someone" '\\server\share'
/delete bash Windows. , Windows .
, , " " cmd.exe, . cmd.exe , , .
$ cmd "/c net use T: /delete"
Source: https://habr.com/ru/post/1732224/More articles:A simple example of using CALayer - perhaps in a UITextField - iphoneMany-to-many link tables in grails (GORM) / hibernate - hibernateAfter increasing the amount of data, mysql performance degrades. Need advice on systematic diagnosis - performanceASP.NET Web Services in General Assemblies (DLLs) - asp.netПроблема Fancybox при изменении href на ie 7 и 6 - javascriptLDAP connection leak in this code - javaCreate DependencyProperties Properties or Properties with Code Completion in XAML - visual-studio-2008OpenGL / Gtkmm game - moving the keyboard - gtkmmВопрос макета. Как я могу отобразить 1 вид изображения сверху, 1 снимок внизу - androidOverlaying a partial order on Git Code Identifiers - gitAll Articles