Additional file extensions that can be left out

English support forum

Moderators: sheep, Hacker, Stefan2, white

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: 9661
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Additional file extensions that can be left out

Post by *petermad »

License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.965 (x64)
TC 3.0 on Android 6.0
Get:
Extended Total Commander Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

Post Reply