Subscribe Bookmark RSS Feed

How can I open only JMP files from a folder?

Hi Guys,

I am trying to save the names of all JMP files only into a list. I am trying something like below and it is not working:



listofJMPfiles is showing me all the files in the folder and not just JMP files. Is there any other way to do this?

Thanks.
1 REPLY
mpb

Super User

Joined:

Jun 23, 2011

Same idea as your March question: http://support.sas.com/forums/message.jspa?messageID=33161#33161

Use the Ends With function instead of Starts With and remove filenames ending with the string which when upper cased is ".JMP".

I don't think there is a direct way to specify a file mask.