Micha1405 Posted February 18, 2005 Posted February 18, 2005 (edited) Please help a newbie The function "FileReadLine" doesn't work if the regfile ist unicode! Before i can read, it must convert to ansicode Try to export a key with subkeys from the registry and read it with "FileReadLine" !?! Thats the problem... I have found this cmd script to convert reg files from unicode to ansi code ! @Echo Off echo UniCode to ANSI converter for Registry files. md ~ANSI for %%a in (*.reg *.?reg?) do type "%%a">"~ANSI\%%a" for %%a in (*.reg *.?reg?) do attrib -r -h -s "%%a" cd ~ANSI for %%a in (*.reg *.?reg?) do move /y "%%a" .. cd.. rd ~ANSI it works ! Edited February 19, 2005 by Micha1405 My TrayToolBar
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now