cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Jaz
Jaz
Level IV

RE: Extracting File Names

Hi,

 

I was just wondering if there was any way to extract the file name of an excel file or data table using JSL.

Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

RE: Extracting File Names

In that case, use the <<Get Name and <<Get Path messages for a data table.

 

The Current Data Table() function may help you as well.

-Jeff

View solution in original post

4 REPLIES 4
Jeff_Perkinson
Community Manager Community Manager

RE: Extracting File Names

We're going to need more information. Extracting filenames from what? Where are the filenames stored?

 

If you mean, can you get a list of files in a directory then yes, the Files In Directory() function will give you a list of files.

-Jeff
Jaz
Jaz
Level IV

RE: Extracting File Names

Hi,

 

I just mean the file name of the current open data table / file.

Jeff_Perkinson
Community Manager Community Manager

RE: Extracting File Names

In that case, use the <<Get Name and <<Get Path messages for a data table.

 

The Current Data Table() function may help you as well.

-Jeff
Jaz
Jaz
Level IV

RE: Extracting File Names

Thank you.