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 (January 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 28 Jan 2008 06:30:30 -0800
Reply-To:     Peter <crawfordsoftware@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter <crawfordsoftware@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: Pipe when file location has spaces
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On 28 Jan, 13:36, Paige Miller <paige.mil...@kodak.com> wrote: > I have been using pipes to read the list of files in a Windows folder > on a server. > > for example > > libname mydir pipe "\\server\share\foldername"; > data dirlist; > infile mydir pad missover; > ... > run; > > was successful at reading the contents of the folder. > > Now, the server admin has changed the share name to a share that has a > space in the name. > > No longer does the pipe work, and I can't figure out what to change to > make the pipe work when there is a space in the share name. Help!

Hi Paige

have you tried embedding the path in double quotes for the server, and single-quoting that for the libname statement, like libname mydir pipe '"\\server\share\foldername"';

PeterC


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