views:

42

answers:

0

Hey guys,

i started to write a mini diagnostic tool for a few friends of mine. I want to collect system information via msinfo32.exe and using the report switch, so i can write a normal txt file. After that, i want to remove some categories (e.g. error reporting and start menu, because it is so much stuff), but I ran into some problems with this tool, because it's output isn't in English, but in the langauge, which the user uses on his machine.

It wouldn't be a big deal to just remove e.g. the 30th category, but i was wondering, what the report file on Arabic or Chinese machines looks like, because my plan was to look for "\n[" to find the beginning of a category. That would be a problem, if the "[" wasn't there on some language settings. I also tried to use the nfo file, but this file is language dependent too. Another problem would occur, if the order of the categories would change.

Can somebody help me solving my issue?