You can use delims to get language in reg query with variable : Code: for /f "tokens=2* delims= " %%A in ('reg query "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\MUI\UILanguages"') do set "some_var=%%~A" random-URL/%some_var%.ESDencryptioncode
For C or D you can use IF function : Code: random-URL/%some_var%.ESDencryptioncode d/updt = ar-sa d/updt = de-de d/updt = en-us d/updt = es-es d/updt = fr-fr d/updt = it-it d/updt = ja-jp d/updt = ko-kr d/updt = pt-br d/updt = tr-tr c/updt = cz-cz c/updt = en-gb c/updt = fi-fi c/updt = nl-nl c/updt = pl-pl c/updt = ru-ru c/updt = sv-se c/updt = th-th c/updt = zh-cn c/updt = zh-tw
omg bad resolution sorry thanks EDIT: mmmm no works. All informations are correct: EDIT 2: i tried more solutions and same problem. (i changed format data for example)
Version 1.0.2 does't work for me. I tried giving it a filename and SHA1 from the database, but it says the info is wrong. I tried a filename with and without .ESD suffix...still doesn't work. For example: File name: 10240.16384.150709-1700.th1_CLIENTPRO_RET_x64fre_en-us.esd SHA1: 9D40E15F430AB89A1EABB165ACBF40C9F07D18BB Some improvements are still needed.