Additional file extensions that can be left out

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mbch331
Junior Member
Junior Member
Posts: 3
Joined: 2020-06-05, 17:31 UTC

Additional file extensions that can be left out

Post by *mbch331 »

For Windows (technically DOS) you can add extra file extensions that can be left out (e.g. file.bat will also work when you only type file). This is the environment variable PATHEXT.
I've created scripts in php that are more or less used as a sort of batch files.
I've got a script called getmetadata.php and in a command prompt I can run it as getmetadata, I would like this functionallity too in Total Commander (either as a setting in Total Commander or by using the windows/dos environment variable PATHEXT).
Using PHP for my "batchfiles" makes them more flexible.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Additional file extensions that can be left out

Post by *petermad »

Already requested recently: viewtopic.php?p=387117#p387117
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply