Re: Mapping windows drives in cygwin?

2007-04-25 Thread Morgan Gangwere
On 4/24/07, Jeff Hawk Jeff.Hawk::navigon.com wrote: -Original Message- You're still missing a '\' before the \c$ I believe /you/'re still missing the reply that already said that on Friday and Kevin's Thanks, that did it response from Saturday last week. Ah, the joys of

Re: Mapping windows drives in cygwin?

2007-04-25 Thread Christopher Faylor
On Wed, Apr 25, 2007 at 08:00:23PM -0600, Morgan Gangwere wrote: couldent you just mount /cygdrive/(driveletter)/ (mountpoint) ? No. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: Mapping windows drives in cygwin?

2007-04-24 Thread Jeff Hawk
=Keith I tryed the last method which will give me a drive letter and I get: [EMAIL PROTECTED] ~ $ net use y: \\winops-hq\c$ System error 67 has occurred. The network name cannot be found. [EMAIL PROTECTED] ~ $ net use y: winops-hq\c$ System error 67 has occurred. The

RE: Mapping windows drives in cygwin?

2007-04-24 Thread Dave Korn
On 24 April 2007 17:19, Jeff Hawk wrote: =Keith I tryed the last method which will give me a drive letter and I get: [EMAIL PROTECTED] ~ $ net use y: \\winops-hq\c$ System error 67 has occurred. The network name cannot be found. [EMAIL PROTECTED] ~ $ net use y:

RE: Mapping windows drives in cygwin?

2007-04-24 Thread Jeff Hawk
-Original Message- You're still missing a '\' before the \c$ I believe /you/'re still missing the reply that already said that on Friday and Kevin's Thanks, that did it response from Saturday last week. Ah, the joys of catching up with an email backlog.

RE: Mapping windows drives in cygwin?

2007-04-21 Thread Kevin Markle
Thanks that worked! -Original Message- From: Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 4:50 PM To: Kevin Markle Subject: Re: Mapping windows drives in cygwin? Kevin Markle wrote: snip I tryed the last method which will give me a drive letter and I

Re: Mapping windows drives in cygwin?

2007-04-20 Thread Kevin Markle
Keith Christian expressed precisely : Kevin Markle wrote: Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) Hi Kevin, This method works: #Using a hostname for the remote machine= net use sandstone.bedrock.net\\IPC$

Re: Mapping windows drives in cygwin?

2007-04-20 Thread Dave
Kevin Markle wrote: [EMAIL PROTECTED] ~ $ net use y: winops-hq\c$ System error 67 has occurred. The network name cannot be found. You meant to do: net use y: winops-hq\\c$ i.e. you forgot the escape the single backslash. Alternatively, as someone mentioned earlier, you can do:

RE: Mapping windows drives in cygwin?

2007-04-19 Thread Dave Korn
On 19 April 2007 18:35, Kevin Markle wrote: Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) You can invoke the standard net use command with only the slight complication of having to either escape or quote the backslashes, or use forward

RE: Mapping windows drives in cygwin?

2007-04-19 Thread Kevin Markle
: Re: Mapping windows drives in cygwin? Kevin Markle wrote: Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) Same as from a batch file, is it not? 'net help share' shows you the syntax. The only difference is the different quoting rules

RE: Mapping windows drives in cygwin?

2007-04-19 Thread Thorsten Kampe
* Kevin Markle (Thu, 19 Apr 2007 16:07:16 -0400) Possibly a dumb question but I have tried a lot of different quoting methods and can't seem to get it to work? How do I quote back slashes in Cygwin? You quote them with '' and you escape them with \. What has that got to do with Cygwin?

Re: Mapping windows drives in cygwin?

2007-04-19 Thread Keith Christian
Kevin Markle wrote: Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) Hi Kevin, This method works: #Using a hostname for the remote machine= net use sandstone.bedrock.net\\IPC$ /user:bedrock\\fflintstone