Want to make a batch script that automatically adds shortcuts to the desktop. The Chinese version's desktop is "桌面", and the Korean version is "바탕 화면". Well, just use "desktop" for both. Hate Microsoft. Now the idea is like this. In the registry, under HKLM\SOFTWARE\Classes\CLSID\{00021400-0000-0000-C000-000000000046}, there is the name of the desktop. Then do reg EXport HKLM\SOFTWARE\Classes\CLSID\{00021400-0000-0000-C000-000000000046} TEMP.REG, REN TEMP.REG TEMP_BAK.REG, TYPE TEMP_BAK.REG >TEMP.TXT, DEL TEMP_BAK.REG. The content of TEMP.TXT is:
Windows Registry Editor Version 5.00
@="桌面"
@="shell32.dll"
"ThreadingModel"="Apartment"
And so on. How to get the text inside the two quotes of @="桌面" into a variable. Please help everyone!
[ Last edited by namejm on 2006-10-22 at 06:46 ]
Windows Registry Editor Version 5.00
@="桌面"
@="shell32.dll"
"ThreadingModel"="Apartment"
And so on. How to get the text inside the two quotes of @="桌面" into a variable. Please help everyone!
[ Last edited by namejm on 2006-10-22 at 06:46 ]

