delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/06/17:22:43

X-Spam-Check-By: sourceware.org
X-YMail-OSG: iDHMFwYVM1m6N23PTlg_Vk7FGbH5iKcQJJDaDBJwlBbSA89Co.FPo7et6zt6G7Y9_LxqipWkTw--
Date: Mon, 6 Aug 2007 14:22:02 -0700 (PDT)
From: jaimin bhavsar <jaimin76 AT yahoo DOT com>
Subject: "net use" command works locally on the sytem where cygwin is installed but using rsh doesnt work
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <114477.7399.qm@web36607.mail.mud.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi There,

I am trying following command locally :

net use z: \\\\<ipaddress>\\<sharename> 

works 

but the same thing if I try using rsh It does not work

rsh -l Administrator <ipaddress> net use z:
\\\\<ipaddress>\\<sharename>

I get following message : 

The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username AT dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

More help is available by typing NET HELPMSG 3506.

Please help me out if executing "net use" command
using rsh. 

I checked the mailing list and found the similar
thread with "ssh" but I was not able to crack this
down.

Thanks 
Jaimin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019