From: Lu on
On Mar 9, 12:02 pm, js8...(a)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 ...