Question : Batch file

I am writing a batch file with reg add.  I have numerous lines.  Most of the reg adds work properly except those with spaces in them. How do I get around this problem?  This is in Windows 2003 I am running into the problem.  Here is an example;

rem reg add HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services /v fAllowToGetHelp /t REG_DWORD /d 0

Answer : Batch file

Simply add quotes:
reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services" /v fAllowToGetHelp /t REG_DWORD /d 0
Random Solutions  
 
programming4us programming4us