I have been using JP Software products for over 20 years. Most of my work was with 4DOS, but I'm now working with TCC/LE and TCMD.
In 4DOS if you entered, for example,
, then notepad would execute and load README.TXT . Any other non-.TXT file would cause LIST (the "default") to execute.
In WinXP (and Vista and Win7 and Win8?), the environment is sorted, so the "default" .* executable extension becomes the "ONLY" executable extension. In the example above, all file.ext would be LISTed, including README.TXT ! SETting any other executable extensions would also be overridden by the .* value. Also... using other wildcard variable names (example .tx?) also causes "overrides" regardless of when they are SET.
Is there any way to make executable extensions using wildcards work like they used to?
Can TCC be modified to use the environment in its unsorted form?
In 4DOS if you entered, for example,
SET .txt=notepad.exe
SET .*=LIST
README.TXT
, then notepad would execute and load README.TXT . Any other non-.TXT file would cause LIST (the "default") to execute.
In WinXP (and Vista and Win7 and Win8?), the environment is sorted, so the "default" .* executable extension becomes the "ONLY" executable extension. In the example above, all file.ext would be LISTed, including README.TXT ! SETting any other executable extensions would also be overridden by the .* value. Also... using other wildcard variable names (example .tx?) also causes "overrides" regardless of when they are SET.
Is there any way to make executable extensions using wildcards work like they used to?
Can TCC be modified to use the environment in its unsorted form?