Thank You very much!
Tested - works like charm
And i hope you can help me in next, or someone else, please :
I can't figure out how to make right regular expression matching...
In AutoIt, script returns value for $OSsName variable
Microsoft Windows 7 Максимальная |C:\Windows|\Device\Harddisk0\Partition1
i need to remove |C:\Windows|\Device\Harddisk0\Partition1 + if this text be changed...
How to get rid of all text after "|" character + character "|"? i mean to have only a Microsoft Windows 7 Максимальная...
am i using right way to do this?
Code: Select all
IniWrite(@ScriptDir & "\dump.ini", "Info", "OS_Name", StringRegExpReplace($OSsName, "???", ""))