superfxp
asked on
I was trying to add a string (Managed) under the reg key (6.1.3HF1) but I keep getting the error msg
I was trying to add a string (Managed) under the reg key (6.1.3HF1) but I keep getting the error msg
(Too many command - line parameters)
I done some research and I think I suppose to enter " for the path that have space/s ???
C:\>reg add \\PCName1\hkey_local_machi ne\softwar e\MWI Appllications\Pointsec\6.1 .3HF1\Mana ged
(Too many command - line parameters)
I done some research and I think I suppose to enter " for the path that have space/s ???
C:\>reg add \\PCName1\hkey_local_machi
ASKER
It doesn't work. I think MWI Applications has a space in between and that cause the error
Yes, thats why I enclosed the whole path in double quotes (" "). I run above statement on my PC and it works perfectly.
Copy the statement in my first comment and paste it on command line window it will work.
ASKER
Thank you that works. I have one more simple question. So how can I add a string under a key. For exmpale: I want to add a string under the Manage call Not manage and the data insdie is No
Try this:
Reg ADD "\\SERVER\HKLM\Software\MW I Appllications\Pointsec\6.1 .3HF1\Mana ged" /v "Not Manage" /t REG_SZ /d No
Reg ADD "\\SERVER\HKLM\Software\MW
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Great thank you. Its work!
Your welcome & thanks for points.
Hello I try this solution under de following key, HKEY_LOCAL_MACHINE\SYSTEM\ CurrentCon trolSet\Co ntrol\Sess ion Manager\Environment
and this solution is not working.
do you have any idea?
Thanks
and this solution is not working.
do you have any idea?
Thanks
Reg ADD "\\PCName1\HKLM\Software\M