Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2021b (64-bit) SR1 9.8.5.204
Operating System: Windows 64bits
Hello Team,
I am using getn function to get a file name for using it further processing.
getn (Select CSV file) strMVPFile$:@BBFile;
This works fine and I can process the file data.
However, I can not get the full file name with path from strMVPFile$ string.
Can anyone help me on how to get the full file name with path in to a string? I want to use part of this file path for some label. Many thanks in advance.
When I print strMVPFiles$ using "type" I dont get the full file name but only the parent drive name. When I use "type -v" I get the full path. So question is how to get the full path in to a string which I can process further. strMVPFiles$ does have a a full path but I can not get it.
strMVPFile$ still contains the full path name. type command treats "\0" in the string as an escaping character. As mentioned in prvious post, you can use strMVPFile$= to check the string value. You can still get its path and file name by:
strMVPFile$ still contains the full path name. type command treats "\0" in the string as an escaping character. As mentioned in prvious post, you can use strMVPFile$= to check the string value. You can still get its path and file name by: