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
To change asni_padding setting of a column.
HELP! Windows SBS 2008 server keeps hanging URGENT!
Filling a TextBox on a Form with Data from a Field from an SQL Database Table in Visual Studio 2008
GridView control scroll bars are not visible on page reload
How can I convert a custom control that calls User32 and Shell32 to work on Mono?
how can i find all ILO boards on a network
Excel Date Time format conversion yyyy-mmm-dd hh:mm:ss to mm/dd/yyyy hh:mm:ss
I can send e-mail ok but cannot get to Internet via browser
accessing a web service
Setting up my first database driven web site