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
ASP.NET How to get picture images to display...in a LISTVIEW?
access list on core switch for restricted guest access
nView Desktop Manager Disable's on startup ?
How to stop folder redirection on terminal server only
How to make simple PHP IF function for the following simple scenario ?
ATM clocking
Cisco ASA 5505 Remote VPN connection - Can't connect
Best routers for creating a VPN tunnel between two offices
science behind typing fast
LDAP query help