Static direct link to LATEST beta exe-intaller

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Static direct link to LATEST beta exe-intaller

Post by *ghisler(Author) »

Sorry, there isn't - I would most probably forget to update this for new beta versions. :(
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Static direct link to LATEST beta exe-intaller

Post by *MaxX »

2KozakMak
You may like this .bat file:
(This PowerShell needs at least Win7 or newer)

Code: Select all

@powershell -Command "(New-Object Net.WebClient).DownloadFile('https://www.totalcommander.ch/beta/%~n0.exe', '%~n0.exe')"
Or you can use CURL to instead of powershell:
(on W10/W11 you always have preinstalled CURL)

Code: Select all

@curl "https://www.totalcommander.ch/beta/%~n0.exe" --remote-name --referer "https://www.ghisler.com/" --remote-time -#
Save it as tc1100x32_64_b1.cmd and change red colored (numbers and "b"/"rc") to download any version you wish.
You can see that the name of <name>.cmd file defines wich <name>.exe should be downloaded.
Last edited by MaxX on 2023-05-05, 17:00 UTC, edited 14 times in total.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Static direct link to LATEST beta exe-intaller

Post by *MaxX »

Or you can use CURL with no need to change numbers for each beta/rc of the same version:

Code: Select all

@for /f tokens^=1-3^ delims^=^" %%i in ('@curl.exe "https://www.ghisler.com/1100_beta.htm" -# ^| @FINDSTR /IRC:"href.*tc.*x32_64.*exe"') do (@curl.exe "%%j" --remote-name --referer "https://www.ghisler.com/" --remote-time -#)
Save it as .cmd file with any name you wish.
This will download the x32+64 version. You can remove "32_64" to download all available setup versions.
Ukrainian Total Commander Translator. Feedback and discuss.
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Static direct link to LATEST beta exe-intaller

Post by *KozakMak »

2ghisler(Author)
i always think that those links generated automatically with some script on server...

2MaxX
2nd one is pretty sexy)
OS: Win10 | TC: latest x64
Post Reply