cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ray3
Level I

Obtaining file date (created/modified) information in JSL

Hi,

I was wondering if it is possible to obtain the date created/date modified information from files using jsl.

I have a large data directory that stores all the raw data from experiments run in the lab, and I would like to load the entire directory and be able to plot files based on the date they were created to get a historical trending, without having to open them individually

Thanks
Ray
2 REPLIES 2
pmroz
Super User

Re: Obtaining file date (created/modified) information in JSL

You could dynamically create a bat file with the command

dir/a-d (your directory here) > tmp.txt

Execute the bat file using Open(). See this thread for more details: http://support.sas.com/forums/thread.jspa?messageID=33589茵

Then read the file tmp.txt into JMP. Not a gold watch, but it'll work!

Regards,
Peter
ray3
Level I

Re: Obtaining file date (created/modified) information in JSL

Working is what I need!

and it does.
Thanks.