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
perl OpenOffice::OODoc need to get and add tekst into a given frame
Group policy preferences computer configuration not applying to Windows 2003 Std SP2 R2 64 bit
How do I use a static page for Joomla's Home Page?
jQuery script error in Firebug
basic quadratic question
Is SQL Server 2005, 2008 free?
SQL Encryption Key Error - SQL 2005
Lens error, restart camera error on Canon Ixus 60
Unable to view PDF files in a web browser
Blackberry browser 400 error - socketexception Connection reset