Hello,

can anything be done (environmetn variable, option ?), that would allow scp to support 
DOSish absolute paths?

$ pwd
/cygdrive/c

$ scp 'C:\test\file.txt' host:/target/
ssh: C: no address associated with name

$ scp '\test\file.txt' host:/target/
\test\file.txt: No such file or directory

$ scp 'test\file.txt' host:/target/
test\file.txt                                                    100% 7395     7.2KB/s 
  00:00 


Background: scp is called by a Java application (Maven) and I cannot even wrap the 
call with a script.

-- Jörg

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

Reply via email to