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-13 00:08
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Question about double quotation marks in batch files View 747 Replies 0
Original Poster Posted 2010-01-16 14:24 ·  中国 安徽 宿州 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
Under XP, in the registry key HKEY_CLASSES_ROOT\*\shell\, there is a subkey called Open with "Notepad"(&N), with the structure: HKEY_CLASSES_ROOT\*\shell\Open with "Notepad"(&N). I want to use the command line REG DELETE "HKEY_CLASSES_ROOT\*\shell\Open with "Notepad"(&N)" to delete this subkey, but it doesn't work. It looks like the problem is with the double quotation marks. How can this be solved?

[ Last edited by chujiafu on 2010-1-16 at 19:49 ]
Attachments
note.gif
Forum Jump: