中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-24 08:11
47,812 topics / 349,917 posts / today 0 new / 48,274 members
DOS批处理 & 脚本技术(批处理室) » Help: How to convert a registry file into a batch file
Printable Version  5,849 / 31
Floor1 eech Posted 2006-11-09 08:25
高级用户 Posts 346 Credits 906
It is to convert REG files to CMD or BAT files. I have been seeking for a long time in various forums, and I got it here with the guidance of an expert:
Floor2 vkill Posted 2006-11-09 09:03
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
You need to first export a random registry file casually, and then look at the help of reg /?
Use for to process files, try it by yourself, and come ask again if you have unclear places! You directly asking for code like this, I'm afraid it's not the best solution!
Floor3 fastslz Posted 2006-11-09 09:43
铂金会员 Posts 2,315 Credits 5,493 From 上海
There is another~~~~~~~~~~

Floor4 eech Posted 2006-11-09 10:30
高级用户 Posts 346 Credits 906
Thanks to the enthusiastic hearts of the two friends
Floor5 electronixtar Posted 2006-11-09 10:42
铂金会员 Posts 2,672 Credits 7,493
Suggestion: Let's make a reg2bat.bat batch script? Automatically convert.reg to a batch script with reg commands?
Floor6 eech Posted 2006-11-09 10:55
高级用户 Posts 346 Credits 906
5th floor boss. You have expressed the aspirations of newbies like us. Support you on behalf of newbies
Floor7 eech Posted 2006-11-09 10:58
高级用户 Posts 346 Credits 906
Proposal: Let's make a reg2bat.bat batch script? Automatically convert.reg to reg command batch script.

Friends who need it, please post replies.
Floor8 lxmxn Posted 2006-11-09 21:03
版主 Posts 4,938 Credits 11,386

  Well, it's completely necessary...
Floor9 ccwan Posted 2006-11-09 21:11
金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊
That's a great idea! I want it.
Floor10 不得不爱 Posted 2006-11-10 00:09
超级版主 Posts 2,044 Credits 5,310 From 四川南充
I'm not sure what specific transformation or further processing you want for this content. But if you just need to present the existing text as is after translation (since the main content is code and the Chinese part is about creating a batch script to convert sz.reg to reg.bat), the translated text would be:

I'll make a batch script that converts sz.reg to reg.bat
Floor11 electronixtar Posted 2006-11-10 00:18
铂金会员 Posts 2,672 Credits 7,493
Have the special characters been handled? My idea is to convert into 3 versions:
1. reg.exe version
2. generated by more
3. generated by echo

By the way, it is suggested that the moderator separate the topics, thank you!
Floor12 xdg3669 Posted 2006-11-10 00:18
初级用户 Posts 10 Credits 130
Learning
Floor13 ccwan Posted 2006-11-11 06:06
金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊
Looking forward to further improvement!
Floor14 vkill Posted 2006-11-11 07:49
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
It's good to make this version of reg.exe, heh heh
Floor15 honhaizh Posted 2006-11-16 20:40
初级用户 Posts 18 Credits 35
Originally posted by fastslz at 2006-11-9 09:43:
Also ~~~~~~~~~~

1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023