MechDR / generate-a-new-anydesk-id

Generate a new AnyDesk ID
The Unlicense
72 stars 10 forks source link

64bit/32bit #1

Closed yodaphone closed 1 week ago

yodaphone commented 2 months ago

Hi

great script, thanks. in the restart section, you have 32 bit & 64 label swapped in the file.

32 bit is usually in c:\program files (x86)\anydesk & 64 bit is in C:\Program Files\AnyDesk. though not a biggie when it comes to it firing up

:64BIT

IF EXIST "C:\Program Files (x86)\AnyDesk" (
    CD "C:\Program Files (x86)\AnyDesk" >NUL 2>&1
    START AnyDesk.exe >NUL 2>&1
    GOTO END >NUL 2>&1
    ) ELSE GOTO ADINF

:32BIT

IF EXIST "C:\Program Files\AnyDesk" (
    CD "C:\Program Files\AnyDesk" >NUL 2>&1
    START AnyDesk.exe >NUL 2>&1
    GOTO END >NUL 2>&1
    ) ELSE GOTO ADINF
MechDR commented 1 month ago

No, it's correct. AnyDesk for Windows is 32-bit only, so in the case of 64-bit installs (AMD64), it places the binaries in C:\Program Files (x86)\. On 32-bit installs (i686), it places the binaries in C:\Program Files\ (nothing is added in the directory path, (x86) or anything else, since it's imposed that the word size of the OS is the same as AnyDesk's binari/binaries word size, which is/are all 32-bit... which is why Windows 32-bit has no C:\Program Files (x86)\ directory).