Date: Wed, 9 Jan 2008 22:04:04 -0500
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ya Huang <ya.huang@AMYLIN.COM>
Subject: Re: x command to start a window program with the full path?
Art,
Thanks for the tip. It would be better if this one can work, since I
really don't want to change the system setting unless I have to. I'll
try tomorrow in my work and let you know.
Ya
On Wed, 9 Jan 2008 20:27:33 -0500, Arthur Tabachneck <art297@NETSCAPE.NET>
wrote:
>Ya,
>
>I was glad to see that you received an answer that worked. Unfortunately,
>someone like me (whose server doesn't show where winword exists or someone
>who doesn't have the authority to reset paths) still wouldn't know what to
>do.
>
>Try the following command and let me know if it works as well:
>
>x "start winword.exe";
>
>It worked for me!
>
>Art
>--------
>On Wed, 9 Jan 2008 15:49:25 -0800, Huang, Ya <Ya.Huang@AMYLIN.COM> wrote:
>
>>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
|