X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 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: <6662cc9a0905110416q7d4584kaf9d3056f404e470@mail.gmail.com>
References: <6662cc9a0905102133i7308b6f2xa6a3c0334c97269@mail.gmail.com> 	 <6662cc9a0905102207k38591a74h15a80627e5836d27@mail.gmail.com> 	 <416096c60905102237v167a87een73773a1774d29e4f@mail.gmail.com> 	 <6662cc9a0905110416q7d4584kaf9d3056f404e470@mail.gmail.com>
Date: Mon, 11 May 2009 13:33:41 +0200
Message-ID: <7758a5c30905110433k83d02a6s74bc2fea86bc81c1@mail.gmail.com>
Subject: Re: Windows Share Folder Problem
From: david sastre <d.sastre.medina@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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@gmail.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  folder 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.koppe@gmail.com> wrote:
>>> 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: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-=
simple
>> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
>> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
>> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http=
://cygwin.com/faq/
>>
>>
>
> --
> 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/
>
>

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

