Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: "" NULL Blank string FileVerInfo
When using the function FileVerInfo, sometimes it returns a blank string (""). I am trying the get "FileVersion" info... I am running an older version of WinBatch Any thoughts?
;Language-key Language Character Set ; ------------ -------- ------------- ; 040904E4 U.S. English Windows Multilingual ; 040904B0 U.S. English Unicode ; 000004E4 Neutral Windows Multilingual ; 04090000 U.S. English Neutral ; 00000000 Neutral Neutral ;Additional foreign language keys ; 040C04E4 French Windows Multilingual ; 0C0C04E4 French-Canadian Windows Multilingual
debug(1) FileN= "C:\WINDOWS\SYSTEM\ODBC16GT.DLL" FVersion = FileVerInfo(FileN, "", "FileVersion") if FVersion=="" FVersion = FileVerInfo(FileN, "000004E4", "FileVersion") if FVersion=="" FVersion = FileVerInfo(FileN, "04090000", "FileVersion") if FVersion=="" FVersion = FileVerInfo(FileN, "00000000", "FileVersion") if FVersion=="" FVersion = FileVerInfo(FileN, "00000000", "FileVersion") if FVersion=="" message("Sorry","Cannot access File Version info") endif endif endif endif endif message("Fileversion is",FVersion)
Specify one each of the following "Language Codes" and "Character Set":
Example:
Language code for French Canadian = 0C0C Character Set is probably Windows, Multilingual =04E4 Format: [Language code][Character Set] [0C0C] [04E4] The language key for French-Canadian is 0C0C04E4
0401 Arabic 0402 Bulgarian 0403 Catalan 0404 Traditional Chinese 0405 Czech 0406 Danish 0407 German 0408 Greek 0409 U.S. English 040A Castilian Spanish 040B Finnish 040C French 040D Hebrew 040E Hungarian 040F Icelandic 0410 Italian 0411 Japanese 0412 Korean 0413 Dutch 0414 Norwegian - Bokml 0810 Swiss Italian 0813 Belgian Dutch (Cyrillic) 0814 Norwegian - Nynorsk 0415 Polish 0416 Brazilian Portuguese 0417 Rhaeto-Romanic 0418 Romanian 0419 Russian 041A Croato-Serbian (Latin) 041B Slovak 041C Albanian 041D Swedish 041E Thai 041F Turkish 0420 Urdu 0421 Bahasa 0804 Simplified Chinese 0807 Swiss German 0809 U.K. English 080A Mexican Spanish 080C Belgian French 0C0C Canadian French 100C Swiss French 0816 Portuguese 081A Serbo-Croatian (Cyrillic)
0000 7-bit ASCII 03A4 Windows, Japan (Shift - JIS X-0208) 03B5 Windows, Korea (Shift - KSC 5601) 03B6 Windows, Taiwan (GB5) 04B0 Unicode 04E2 Windows, Latin-2 (Eastern European) 04E3 Windows, Cyrillic 04E4 Windows, Multilingual 04E5 Windows, Greek 04E6 Windows, Turkish 04E7 Windows, Hebrew 04E8 Windows, Arabic
Is this in reference to FileVersionInfo? Or WIL Language strings (all English is considered either "US English" or "ValSpeak" (you don't want to know) or ???
Cheers.
080904E4 080904b0 08090000And see if your luck improves.
Article ID: W13078
Filename: FileVerinfo and Language Keys.txt
File Created: 1999:09:27:11:17:58
Last Updated: 1999:09:27:11:17:58