How to replace the specified content in the reg file with the current path? The path should be double slashes. For example, the content of a reg file is as follows:
[HKEY_CLASSES_ROOT\ProtelPCBFile\Shell\Open]
[HKEY_CLASSES_ROOT\ProtelPCBFile\Shell\Open\Command]
@="C:\\Program Files\\Design Explorer 99 SE\\Client99SE.exe %1"
[HKEY_CLASSES_ROOT\ProtelSchematicFile]
[HKEY_CLASSES_ROOT\ProtelSchematicFile\DefaultIcon]
@="C:\\Program Files\\Design Explorer 99 SE\\System\\Advsch.dll,0"
[HKEY_CLASSES_ROOT\ProtelSchematicFile\Shell]
Need to replace "C:\\Program Files\\Design Explorer 99 SE\\" in it with the current directory, and the path should be double slashes. Please ask the expert for guidance.
[HKEY_CLASSES_ROOT\ProtelPCBFile\Shell\Open]
[HKEY_CLASSES_ROOT\ProtelPCBFile\Shell\Open\Command]
@="C:\\Program Files\\Design Explorer 99 SE\\Client99SE.exe %1"
[HKEY_CLASSES_ROOT\ProtelSchematicFile]
[HKEY_CLASSES_ROOT\ProtelSchematicFile\DefaultIcon]
@="C:\\Program Files\\Design Explorer 99 SE\\System\\Advsch.dll,0"
[HKEY_CLASSES_ROOT\ProtelSchematicFile\Shell]
Need to replace "C:\\Program Files\\Design Explorer 99 SE\\" in it with the current directory, and the path should be double slashes. Please ask the expert for guidance.

