RE: How to give arguments containing space to rcp

2002-02-18 Thread Brown, Aaron D
-Original Message- From: smi pawar [mailto:[EMAIL PROTECTED]] :: Hi All, :: Now there is one more problem:) .. the file I am :: getting from windows to SOLARIS machine contains ^M :: characters Can PERL handle such file.. removing :: ^Ms automatically.. or do I have to use som

RE: How to give arguments containing space to rcp

2002-02-17 Thread Allegakoen, Justin Devanandan
pawar [mailto:[EMAIL PROTECTED]]Sent: Monday, February 18, 2002 1:48 PMTo: smi pawar; Torsten "FörtschCc: [EMAIL PROTECTED]Subject: Re: How to give arguments containing space to rcp Hi All,     Now there is one more problem:) .. the file I am getting from windows to SOLAR

Re: How to give arguments containing space to rcp

2002-02-17 Thread smi pawar
Hi All,     Now there is one more problem:) .. the file I am getting from windows to SOLARIS machine contains ^M characters Can PERL handle such file.. removing ^Ms automatically.. or do I have to use some utility for this? Thanks, -- Smita   smi pawar <[EMAIL PROTECTED]> wrote: Hi , Thanks

Re: How to give arguments containing space to rcp

2002-02-17 Thread smi pawar
Hi , Thanks A Lot Torsten... rcp 'ntbox:"/Program files/myfile.txt"'  works fine. rcp '"ntbox:/Program files/myfile.txt"'  gives error ntbox: unknown host. Actually, This has nothing to do with perl, running rcp on command line (instead of perl script) gives same results. The other solution( puttt

Re: How to give arguments containing space to rcp

2002-02-17 Thread Torsten Förtsch
Try rcp '"ntbox:/Program files/myfile.txt"' . or rcp 'ntbox:"/Program files/myfile.txt"' . I think the UNIX needs the outer quotes (') but your NT also wants the blank to be quoted. On Sun, 17 Feb 2002 00:46:38 -0800 (PST) smi pawar <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want

Re: How to give arguments containing space to rcp

2002-02-17 Thread $Bill Luebkert
smi pawar wrote: > Hi all, > > I want to remote copy a file from a windows machine ( from > C:\Program files) to a SOLARIS machine. So I am using rcp It works > fine when the source file path does not contain spaces: > > e.g. rcp ntbox:/myfile.txt . > > In this case the source file