Skip to main content
1-Visitor
December 30, 2010
Solved

Read filename list in a known folder from within Mathcad

  • December 30, 2010
  • 9 replies
  • 7114 views

Dear all,

I use frequently mathcad for data analysis. The data are stored in a specific, known folder. The data are generated from another application and the filenames change, depending on the acquisition conditions. I need to check by hand the filenames and then put them in an array, which mathcad uses to read the data.

Can someone tell me how to get from within mathcad the filenames of all files in a specific folder and generate an array comprising these filenames

Thank you

Best answer by MikeArmstrong

Will the attached help?

You can change the path of the second component to your desired folder and this should display your files.

Mike

9 replies

1-Visitor
December 30, 2010

Will the attached help?

You can change the path of the second component to your desired folder and this should display your files.

Mike

1-Visitor
January 3, 2011

See my collected utilities http://communities.ptc.com/docs/DOC-1612

It is also available in V11 format.

It has lots of these types of utilities. They are mostly collated from the collaboratory, but a few are my own 'improvements' (bending to my particular needs <wink>)

Philip

Youki1-VisitorAuthor
1-Visitor
January 3, 2011

Thank you Philip and Mike