Microsoft
Software
Hardware
Network
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\Softwar
e\Policies
\Microsoft
\Windows NT\Terminal Services /v fAllowToGetHelp /t REG_DWORD /d 0
Answer : Batch file
Simply add quotes:
reg add "HKEY_LOCAL_MACHINE\Softwa
re\Policie
s\Microsof
t\Windows NT\Terminal Services" /v fAllowToGetHelp /t REG_DWORD /d 0
Random Solutions
Operator '=' is not defined for type 'DBNull' and type 'Integer' - how to fix
How can I uninstall a corrupt broadcom driver?
speak & auto type?
What are some good guides on designing and building video games
Windows XP Taskbar won't auto-hide
Worldspan - calling worldspan web service
Popup details on mouse hover using Jquery
How send an array by url with php???????
Trouble installing Panasonic Printer/Copier devices on SBS 2008
SID History/re-ACL'ing when moving to new AD forest