China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-08 18:19
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to replace the specified path in the reg file with the current path? The path should be double slashes View 2,510 Replies 24
Floor 16 Posted 2008-05-20 20:21 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
The ones on floor 12 and floor 13 are not okay. After transferring, the content becomes ㉗㌺㐺㔺㘺㜺㠺㤺ㄺ㨰ㄱㄺ㨲㌱ㄺ㨴㔱ㄺ㨶㜱ㄺ㨸㤱㈺㨰ㄲ㈺㨲㌲㈺㨴㔲㈺㨶㜲㈺㨸㤲㌺㨰ㄳ㌺㨲㌳㌺㨴㔳㌺㨶㜳㌺㨸㤳㐺㨰ㄴ㐺㨲㌴㐺㨴㔴㐺㨶㜴ഺ
Floor 17 Posted 2008-05-20 20:23 ·  中国 湖南 株洲 电信
金牌会员
★★★★
永远的学习者
Credits 3,105
Posts 1,276
Joined 2008-03-08 13:00
18-year member
UID 112398
Gender Male
Status Offline
I have all tested, I don't know why it doesn't work on your side.

Attached converted content:

Windows Registry Editor Version 5.00


@="ProtelDesignFile"


@="ProtelPCBFile"


@="ProtelSchematicFile"




@="D:\\Batch Processing\\System\\SmartDoc.ico"






@="\"D:\\Batch Processing\\Client99SE.exe\" \"%1\""




@="D:\\Batch Processing\\System\\AdvPCB.dll,0"






@="D:\\Batch Processing\\Client99SE.exe %1"




@="D:\\Batch Processing\\System\\Advsch.dll,0"






@="D:\\Batch Processing\\Client99SE.exe %1"


[ Last edited by zw19750516 on 2008-5-20 at 08:26 PM ]
批处理之家新域名:www.bathome.net
Floor 18 Posted 2008-05-20 21:06 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
I tried the code from the 12th floor under XP, but it still became ㄺ㨴㔱ㄺ㨶㜱ㄺ㨸㤱㈺㨰ㄲ㈺㨲. Unfortunately, it's not convenient to attach files here.
Floor 19 Posted 2008-05-20 21:49 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
Good people, please help. Urgently waiting online
Floor 20 Posted 2008-05-20 22:08 ·  中国 四川 成都 联通
中级用户
★★
Credits 297
Posts 135
Joined 2006-10-21 12:00
19-year member
UID 67627
Gender Male
Status Offline
The registry exports are in the Unicode character set. Most commands like findstr and for can't recognize it. But type can, and the output is ANSI ('type a.reg^|findstr /n .*')
Floor 21 Posted 2008-05-20 22:14 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
The registry export is in the Unicode character set, and the REG file is also a txt text file. I don't understand. Specifically, how to do it?
Floor 22 Posted 2008-05-20 22:17 ·  中国 四川 成都 联通
中级用户
★★
Credits 297
Posts 135
Joined 2006-10-21 12:00
19-year member
UID 67627
Gender Male
Status Offline
What kind of eyesight is that?
('type a.reg^|findstr /n .*')
Didn't you see it?
Floor 23 Posted 2008-05-20 22:24 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
Floor 24 Posted 2008-05-24 11:28 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 110
Posts 52
Joined 2007-07-25 16:12
19-year member
UID 94014
Gender Male
Status Offline
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{042BADC5-5E58-11CE-B610-524153480001}\InprocServer32]
@="C:\\Program Files\\Design Explorer 99 SE\\System\\VCF132.OCX"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{042BADC5-5E58-11CE-B610-524153480001}\ToolboxBitmap32]
@="C:\\Program Files\\Design Explorer 99 SE\\System\\VCF132.OCX, 19401"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{042BADC9-5E58-11CE-B610-524153480001}\InprocServer32]
@="C:\\Program Files\\Design Explorer 99 SE\\System\\VCF132.OCX"

I'm sorry, these contents must be posted to the forum and then copied back to use the above batch processing to correctly add \\
Floor 25 Posted 2008-05-24 12:21 ·  中国 安徽 合肥 电信
初级用户
Credits 109
Posts 42
Joined 2007-05-12 09:38
19-year member
UID 88253
Gender Male
Status Offline
The .inf file supports relative paths.
hkcr,"豪杰超级解霸_DAT\Shell\Open\Command",,,"%01%\豪杰V9.exe %%1"
Forum Jump: