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
How to send a mail when a windows server goes down?
Append extra data to the right of common data between files
Flex Drag and Drop
Php SOAP-ERROR: Parsing WSDL
How To REMOVE VALUE from 'not checked checkboxes'
difficulty in binding DataGridView in windows form
av security suite Removal
putty question
Secondary namespace in WSDL
How to allow/disallow with robots.txt a specific directory