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!
Credits 1,179 Posts 442 Joined 2006-09-09 22:47 19-year member UID 62249
Status Offline
Tried for a long time, but I don't know how to convert the U code output from registration to A code. The trouble is that this command seems to only be used as a pipeline command. Those who have succeeded can follow up the post.
Credits 1,179 Posts 442 Joined 2006-09-09 22:47 19-year member UID 62249
Status Offline
Originally posted by zh159 at 2006-12-28 11:34:
Use cd %cd% >01.reg to clear 01.reg and then use echo >> to write to 01.reg. It still seems to be ANSII unless operated with VBS
Hmm, experiment again. After using ECHO>>, the original empty U code also becomes A code. I don't know why. But if it's non-empty, it won't change. And ECHO>> appends A code to the U code text, and the A code segment becomes garbled. Is the original encryption principle derived from this?
Credits 3,687 Posts 1,467 Joined 2005-08-08 12:00 20-year member UID 44210
Status Offline
For UNICOD text has a "FFFE" UNICOD encoding mark at the beginning. It seems that the output of echo is only ANSII encoding, and ANSII encoding is different from UNICOD encoding, so directly using echo to output cannot get a text file with UNICOD encoding.