This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

More Re: flaky disk share access


I was intrigued by the other person's report a few minutes ago that they'd
had problems with net.exe output but that according to them it was
working. So, I did a little testing...

On my W2000 system, the Cygwin Bash shell started from the default icon
can run net.exe and gets output that the ssh session doesn't get, but it
does NOT work properly. ONLY from the 'dos command prompt' window does
net.exe work correctly. So, there appear to be THREE different levels of
behavior: Dos prompt - everything works, Cygwin Bash - gets help output
and current state output but commands to change things don't work, and an
ssh session - is like Cygwin Bash but can't get help output.


Comments still welcome.


Richard Troy, Chief Scientist
Science Tools Corporation, 510-567-9957,

On Fri, 11 Jul 2003, Richard Troy wrote:

> Date: Fri, 11 Jul 2003 09:06:26 -0700 (PDT)
> From: Richard Troy <>
> To:
> Subject: Re: flaky disk share access
> Hi Igor, All,
> thanks for the prompt reply. Unfortunately, 'net use' does _not_ work.
> -frown-
> ...I brought up three windows on the box, a Cygwin Bash session, an SSH
> session (F-Secure client), and a "dos command prompt". The Bash session
> and the dos prompt window work identically, but the ssh session doesn't
> work at all. Since this is the first I've used the 'net' command, I'm not
> entirely sure what to expect from it, but it was frustrating that I
> couldn't even get it to spit out help on the ssh session, though help
> worked fine on the Bash and dos prompt windows.
> >From the ssh session, 'net use' returns:
> $ net use
> New connections will be remembered.
> Status       Local     Remote                    Network
> -------------------------------------------------------------------------------
> Unavailable  K:        \\fs1\Commons             Microsoft Windows Network
> Unavailable  S:        \\fs1\software            Microsoft Windows Network
> Unavailable  U:        \\fs1\users               Microsoft Windows Network
> The command completed successfully.
> ...Whereas in both of the other sessions, the Status is listed as "OK".
> When I try other commands, there seems to be some kind of terminal
> interaction problem. For example, in the following example, I only entered
> the command at the system prompt, and it returned me to the system prompt
> without pausing for my interaction:
> $ net use k: rtroy
> k: has a remembered connection to \\fs1\Commons. Do you
> want to overwrite the remembered connection? (Y/N) [Y]:
> No valid response was provided.
> $
> In other cases, it just runs silently, but has no apparent effect, for
> example, the following just return to the system prompt:
> $ net use /user:rtroy
> $ net use * /user:rtroy
> ...Since I've never successfully used 'net use', I'm still struggling a
> little with the syntax, but that asside, 'net' isn't having a normal user
> interation dialogue with me, I don't think.
> Any further comments greatly appreciated.
> Richard

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]