Date: Tue, 9 Mar 2010 11:52:18 -0800
Reply-To: Lu <luzhao.ca@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lu <luzhao.ca@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Command that runs at DOS prompt does not run when using X
command
Content-Type: text/plain; charset=ISO-8859-1
On Mar 9, 12:02 pm, js8...@GOOGLEMAIL.COM (js8765) wrote:
> Hi there,
>
> I was wondering if anyone has ever experienced something similar to this.
>
> When I run the following command at the DOS prompt it works fine:
> clip < c:\temp\init.txt
>
> ...but if I run the following line in SAS, it does not work. i.e. the
> contents to not get copies to the clipboard.
> x "clip < c:\temp\init.txt";
>
> The program 'clip' copies the contents of a file to the clipboard. The
> file clip.exe is standard in Windows Server 2003 Server but I am running
> XP and downloaded it from the Microsoft website
>
> Does anyone have any idea why this might be happening?
>
> Thanks in advance for any help!
>
> js
You can try the full path to clip.exe ...
|