Dear All,
I have to open two files that have the same name, but different extension.
In the same directory I have one binary file (i.e test.bin) and one text file (i.e. test.txt).
I use this string to open the bin file
NAME = SystemDialogInput["FileOpen"];
Now Name is C://path//test.bin
Is there the possibility to define in an automatic way
here is one handy way to select txt-files using SystemDialogInput:
(* specific directory, e.g. home directory: *)
dir = $HomeDirectory;
filename=SystemDialogInput["FileOpen", {dir, {"Text-Data" -> {"*.txt"}, "Simply Everything" -> {"*"}}}]