cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles