Thebat exe read of
Viewed 47k times. Binary files have a version embedded in them - easy to display in Windows Explorer. How can I retrieve that file version, from a batch file? Peter Mortensen Cheeso Cheeso k 96 96 gold badges silver badges bronze badges.
Any hints here? See stackoverflow. Add a comment. Active Oldest Votes. Arguments; if ARGS. Echo "No file passed" ; WScript. Echo objFolder. I've tried it on win server and windows 8. I also tried parsing the command output directly without using a file, but that fails too, presumably for the same reason. Anyone any ideas? Dave - check this Tomorrow I'll update the answer. Thanks npocmaka, I need to study that in detail but I don't think my problem is to do with an extra CR.
Also, I looked for your update but the latest post on the dostips forum you linked to was 14 Apr and I couldn't find your name at all. Am I missing something?? Exercise: What if you want to extract more than 26 words?
Note also that the above script works only for US-English systems, since the phrase IPv4 Address will change based on your current language. This alternate version makes the findstr program do the heavy lifting, and then saves the fourteenth word. But this version will get fooled by the line Autoconfiguration IPv4 Address. Comments are closed. I wrote a book Ground rules Disclaimers and such My necktie's Twitter. Reading the output of a command into a batch file variable Raymond.
July 31st, Voyager for free when you purchase The Bat! The Bat Voyager for free! Message base encryption. Biometric authentication. Hardware authentication with mail servers. Certified for Windows 10 The Bat! This makes The Bat! Powerful Filtering System. Safe Handling of Attached Files. Handy Templates.
0コメント