Space handling in batch files

lotharamious

Member
Feb 17, 2006
61
0
0
I'm creating a batch file that will add certain values to the registry and I run into problems with spaces with the following command

REG ADD HKLM\Software\Microsoft\Windows NT\... /v ... (etc)

What do I replace "Windows NT" with?

Any ideas?

Thanks
 

lotharamious

Member
Feb 17, 2006
61
0
0
nevermind... for some reason I had an incorrect switch placement negating the fact that using "quotations" actually works.