tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
white
Power Member
Power Member
Posts: 6022
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *white »

KozakMak wrote: 2025-06-30, 06:31 UTC Sounds good, doesn't work :lol:

Code: Select all

TCDOWNLOAD v1.2b

Latest final version : ns.cloudflareletters:~com,1
Latest beta version  : ns.cloudflare release candidate -228

Downloading "https://www.totalcommander.ch/nscloudflare/tcmdnscloudflareletters:~com,1x64.exe"
curl: (22) The requested URL returned error: 404
Thanks for testing. It seems your output of nslookup looks different than I thought it could be. So, the tool needs improvement ;).

What do you get when you execute "nslookup -type=TXT releaseversion.ghisler.com 8.8.8.8" in a command prompt window?
(or with different dns server if you used a different dns server)
KozakMak
Power Member
Power Member
Posts: 509
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *KozakMak »

2white
primary name server = nero.ns.cloudflare.com
responsible mail addr = dns.cloudflare.com

and yes, your script is 674 lines of code, mine is only 6. It does the same thing 8)

Code: Select all

@ECHO OFF
@for /f tokens^=1-3^ delims^=^" %%i in ('
  curl.exe "https://www.ghisler.com/download.htm" -s ^
  ^| FINDSTR /IRC:"href=.*tcmd[0-9]*x64\.exe"
') do (
  if not exist "%%~nxj" curl.exe "%%j" -OR#
)
OS: Win10 | TC: latest x64
User avatar
nsp
Power Member
Power Member
Posts: 1959
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *nsp »

KozakMak wrote: 2025-06-30, 11:19 UTC 2white
primary name server = nero.ns.cloudflare.com
responsible mail addr = dns.cloudflare.com

and yes, your script is 674 lines of code, mine is only 6. It does the same thing 8)

Code: Select all

@ECHO OFF
@for /f tokens^=1-3^ delims^=^" %%i in ('
  curl.exe "https://www.ghisler.com/download.htm" -s ^
  ^| FINDSTR /IRC:"href=.*tcmd[0-9]*x64\.exe"
') do (
  if not exist "%%~nxj" curl.exe "%%j" -OR#
)
Your code only download latest full release and does not have any comments so the comparison is just unfair ;).
User avatar
white
Power Member
Power Member
Posts: 6022
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *white »

KozakMak wrote: 2025-06-30, 11:19 UTC primary name server = nero.ns.cloudflare.com
responsible mail addr = dns.cloudflare.com
Thanks, but I don't think you understood my question. I need the output of the nslookup command, which seems to be different on your system then I expected it could be.
KozakMak
Power Member
Power Member
Posts: 509
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *KozakMak »

OS: Win10 | TC: latest x64
User avatar
white
Power Member
Power Member
Posts: 6022
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *white »

KozakMak wrote: 2025-06-30, 12:32 UTC https://ibb.co/FkLskLPT
Thanks!
Does that also happen without the 8.8.8.8 address?
Does it still happen when you try again?
Does the version check in Total Commander work when you use a previous version?
User avatar
nsp
Power Member
Power Member
Posts: 1959
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: tcdownload.cmd v1.2b - Downloads latest version of Total Commander

Post by *nsp »

@KozakMak judt a guess, csn you try with dns 1.1.1.1 instead of 8.8.8.8 ?
Post Reply