delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/16/07:39:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <7758a5c30905110433k83d02a6s74bc2fea86bc81c1@mail.gmail.com>
References: <6662cc9a0905102133i7308b6f2xa6a3c0334c97269 AT mail DOT gmail DOT com> <6662cc9a0905102207k38591a74h15a80627e5836d27 AT mail DOT gmail DOT com> <416096c60905102237v167a87een73773a1774d29e4f AT mail DOT gmail DOT com> <6662cc9a0905110416q7d4584kaf9d3056f404e470 AT mail DOT gmail DOT com> <7758a5c30905110433k83d02a6s74bc2fea86bc81c1 AT mail DOT gmail DOT com>
Date: Sat, 16 May 2009 17:08:57 +0530
Message-ID: <6662cc9a0905160438n7f690a19i5b40c69eab74421e@mail.gmail.com>
Subject: Re: Windows Share Folder Problem
From: Neeraj Sahu <neerajsahu2003 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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,

Thanks for the reply !!!.
Now, I can access the windows sharable folder using this command:

"net use Z: \\\\vm-webin\\d$ my_password /user:myself"
"cd /cygdrive/z"

But this command is also available in Dos. So I can do the same thing
using dos also.

But in my cygwin presentation I want to show that you can access the
sharable PC folder using some linux command for ex: "mount" command.
Which is not available in windows dos command.

As in my previous post, you people suggested me some other solution to
access sharable window PC folder. For ex:

1.) cd //server_ip_address"
2.) mount -f -b //server_ip_address/data/ /home/user/temp/

In the above two example I can access the sharable PC if and only if
there is no user id or password required.
Since we are working in the organization so to access sharable folder
I need to enter the user Id and password.

Is there any way to access that windows sharable folder using user id
and password but only with Linux command.


Thanks and Regards,
Neeraj Sahu

On Mon, May 11, 2009 at 5:03 PM, david sastre <d DOT sastre DOT medina AT gmail DOT com> w=
rote:
> Hello there!
>
> I use this and works for me:
>
> net use Z: \\\\vm-webin\\d$ my_password /user:myself
>
> Then you can access the shared folder simply by
>
> cd /cygdrive/z
>
> Hope this is helpful. Good luck!
>
> 2009/5/11, Neeraj Sahu <neerajsahu2003 AT gmail DOT com>:
>> Hi Andy,
>>
>> Thanks a lot for your help.
>>
>> I have successfully accessed the sharable PC using command "cd
>> //server_ip_address"
>> But to access the shared folder it is saying permission denied.
>> Actually, that shared folder =A0folder have user id and password.
>>
>> How Can I give user id and password using cd command to access that
>> window sharable folder ?
>>
>> --
>> Thanks & Regards,
>> Neeraj Sahu
>>
>>
>> On Mon, May 11, 2009 at 11:07 AM, Andy Koppe <andy DOT koppe AT gmail DOT com> wrot=
e:
>>>> I am going to present the seminar on Cygwin in my organization.In that
>>>> seminar I want to show you can access windows shared folder of any PC
>>>> from Cygwin. To demonstrate that I have tried to mount that windows
>>>> shared folder in cygwin but it didn't work. When I have searched in
>>>> google for it. I came to know that i need to install "samba" on
>>>> cygwin.
>>>
>>> No need to mount anything or install samba: windows shares can be
>>> accessed using the familiar Windows syntax, only with Unix slashes
>>> rather than DOS backslashes:
>>>
>>> //server/share/path_to_file
>>>
>>> Actually you can use backslashes too, but then the filename needs to be
>>> quoted:
>>>
>>> "\\server\share\path_to_file"
>>>
>>> Good luck with the seminar!
>>>
>>> Andy
>>>
>>> --
>>> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>>> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
>>> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
>>> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
>>>
>>>
>>
>> --
>> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
>> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
>> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
>>
>>
>
> --
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
>
>



--=20
Thanks & Regards,
Neeraj Sahu

--
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