cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Get Path() only returning the file name?

tony_adames
Level I

I'm try to get the full path of the "current data table". Get Path() is only returning the file name. Yesterday it was returning the full path and I can't figure out what changed. Help!

I'm using JMP 11.2.0 (64 bit) on Win7.

Thanks,

Tony

1 REPLY 1
msharp
Super User (Alumni)


Re: Get Path() only returning the file name?

Well, have you made the sure the file has been saved?  There won't be a path if there is no file.  All JMP can return is the name.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

path = dt << Get Path();

Show( path );

dt2 = New Table("test");

path = dt2 << Get Path();

Show( path );

Returns:

path = "C:\Program Files\SAS\JMPPRO\12\Samples\Data\Big Class.jmp";

path = "test.jmp";

Recommended Articles

No recommendations found