How to open a file?

Hi,

I have a custom button to allow me to join selected files but I would like to be able to automatically the file in my default text editor after the join. The closest I have gotten to this is by opening the Open File dialog

Join TO "D:\Temp\Join.txt"
{Rf}

Could someone please enlighten me?

Thanks

Damian

The easiest way is just to run the program you want with the filename:

Join TO "D:\Temp\Join.txt" notepad.exe "D:\Temp\Join.txt"

Thanks Leo, I feel stupid with it being such a simple solution :blush:

I made a minor change by just specifing the full file name and it opens in my default text editor:

Join TO "D:\Temp\Join.txt" "D:\Temp\Join.txt"