How to edit semi-plaintext file and maintaining character structure?

Posted by Raul on Super User See other posts from Super User or by Raul
Published on 2012-09-06T00:21:46Z Indexed on 2012/10/01 21:41 UTC
Read the original article Hit count: 314

I am using a software (Groupmail from Infacta) that uses exact / absolute %PATHS% for saving some settings in specific semi-plaintext file. This is a really bad idea because you can't move to USER folder, or like my case it does not work after migrating to a new computer with different language. For example:

C:\Documents and Settings\USER\Local Settings\Application Data\Infacta

is different than

C:\Documents and Settings\USER\Configuración local\Datos de programa\Infacta

Obviously, the software does not work well.

I tried to solve this using Find/Replace the new PATH with Notepad++. While the Groupmail software loads well and shows settings correctly, the software fails when trying to save data on that file.

I guess this is because length or number of replaced characters is different and also it corrupt the file.

Please could you help me to edit this file maintaining file integrity / structure?

© Super User or respective owner

Related posts about Windows

Related posts about notepad++