Date: Wed, 9 Jan 2008 15:49:25 -0800
Reply-To: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Subject: Re: x command to start a window program with the full path?
In-Reply-To: <92BD54B69F8AA446B8446927AAADE7B401A9AE38@cpc-1.Colorado.local>
Content-Type: text/plain; charset="us-ascii"
Thanks Ken,
I tried it and it worked!
Ya
-----Original Message-----
From: Ken Barz [mailto:Ken.Barz@cpcmed.org]
Sent: Wednesday, January 09, 2008 3:38 PM
To: Huang, Ya
Subject: RE: x command to start a window program with the full path?
I believe that you can add C:\Program Files\Microsoft Office\OFFICE11 to
the windows path variable. This is found under the advanced tab in the
system properties window, button called Environment Variables.
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Ya
Huang
Sent: Wednesday, January 09, 2008 4:26 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: x command to start a window program with the full path?
Hi there,
x "'winword.exe'";
x "'C:\Program Files\Microsoft Office\OFFICE11\winword.exe'";
Is there a way to configure windows, so that when I use x command in
SAS, I don't have to give the full path of the windows program?
The first line won't work. The second line works.
There must be a way, since I can type in the program name in the
start/run window without having to give the full path.
Thanks
Ya
|