On 25/07/2014 10:39, Uli wrote:
> on T.U.R.F. I placed some (downloadable) demo uniface code about how to program dependencies on filetypes nowadays.
> It's based on 9.6.01 and shows the use of $rscan and single-quoted syntax strings in selectcase statement.
>
> See:
http://hosted.byjones.net/turf/viewtopic.php?f=8&t=1629
Hi Uli,
There are Windows command line interface commands that allow you to work
out what the individual Windows machine is set up to use:
assoc - works out the file extensions association
ftype = works out what executable is called for the association
For example, you have:
C:\>assoc .pdf
.pdf=AcroExch.Document
C:\>ftype AcroExch.Document
AcroExch.Document="C:\Program Files (x86)\Adobe\Reader
10.0\Reader\AcroRd32.exe" "%1"
And you can fire up the associated executable directly by spawning just
the full filename (extension included).
Cheers
Geoff