LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 16 Feb 2009 01:37:25 -0800
Reply-To:     John Hendrickx <John2.Hendrickx@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         John Hendrickx <John2.Hendrickx@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: Getting info about the Present Working directory
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On 14 feb, 00:27, google.bhec...@xoxy.net wrote: > This version based on Chang's code places the path in a macrovariable: > > filename P PIPE 'cd'; > data _null_; > infile P; > input; > call symput('PWD', _infile_); > run; > %put _all_ Even shorter:

filename dummy '.'; %let pwd=%sysfunc(pathname(dummy));

Should work for unix as well.

Good luck,

John Hendrickx

Statistician Clinquest Europe BV, Oss - The Netherlands www.clinquest.com


Back to: Top of message | Previous page | Main SAS-L page