* Access local drive over remote desktop
@ 2014-01-19 23:39 Tom Robinson
2014-01-20 17:32 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Tom Robinson @ 2014-01-19 23:39 UTC (permalink / raw)
To: cygwin
Hi, I'm wanting to copy a remote file to my local drive, using the redirection supplied by Microsoft Remote Desktop.
This is how the drive appears in 'net':
C:\Users\cbg.tom>net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
\\TSCLIENT\HealthStat Microsoft Terminal Services
The command completed successfully.
I can copy files using Windows Explorer, but can't access the drive from the cygwin command line:
[2466 CBGSAS04:/cygdrive/e/Programs/autoexecs]$ cp Standard.sas //TSCLIENT/HealthStat
cp: accessing `//TSCLIENT/HealthStat': Bad address
[2467 CBGSAS04:/cygdrive/e/Programs/autoexecs]$ cp Standard.sas //cygdrive/TSCLIENT/HealthStat
cp: cannot create regular file `//cygdrive/TSCLIENT/HealthStat': No such file or directory
The first form used to work, it may have been the new version of Microsoft Remote Desktop which broke it. FWIW the drive doesn't appear under //
I realise I could map a drive letter, etc., but would rather get the built-in support working again.
CYGWIN_NT-6.3
Cheers
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Access local drive over remote desktop
2014-01-19 23:39 Access local drive over remote desktop Tom Robinson
@ 2014-01-20 17:32 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2014-01-20 17:32 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]
On Jan 20 12:39, Tom Robinson wrote:
> Hi, I'm wanting to copy a remote file to my local drive, using the redirection supplied by Microsoft Remote Desktop.
>
> This is how the drive appears in 'net':
>
> C:\Users\cbg.tom>net use
> New connections will be remembered.
>
>
> Status Local Remote Network
>
> -------------------------------------------------------------------------------
> \\TSCLIENT\HealthStat Microsoft Terminal Services
> The command completed successfully.
>
>
> I can copy files using Windows Explorer, but can't access the drive from the cygwin command line:
>
> [2466 CBGSAS04:/cygdrive/e/Programs/autoexecs]$ cp Standard.sas //TSCLIENT/HealthStat
> cp: accessing `//TSCLIENT/HealthStat': Bad address
> [2467 CBGSAS04:/cygdrive/e/Programs/autoexecs]$ cp Standard.sas //cygdrive/TSCLIENT/HealthStat
> cp: cannot create regular file `//cygdrive/TSCLIENT/HealthStat': No such file or directory
>
>
> The first form used to work, it may have been the new version of Microsoft Remote Desktop which broke it. FWIW the drive doesn't appear under //
>
> I realise I could map a drive letter, etc., but would rather get the built-in support working again.
>
> CYGWIN_NT-6.3
Works for me under Windows 7, doesn't work under Windows 8.1, not
even in Explorer. I don't know why. I'm not familiar with the
implementation of the tsclient stuff. It's certainly not something
in Cygwin which would be different between Windows versions. The
code to access UNC paths is entirely OS-agnostic.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-20 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 23:39 Access local drive over remote desktop Tom Robinson
2014-01-20 17:32 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).