Format for adding a String value in Regedit

Using windows 7

Using regedit to  add a value.

What is the correct format.  Below are the instructions someone has provided me, but doesn't include the format:

Here are the instructions:

HKEY_CURRENT_USER/SOFTWARE/MIRCROSOFT/OFFICE/11.0/PUBLISHER/PRINTING  
ADD A STRING VALUE: NumberOfRecordsPerBatch then enumerating whatever batch size you would like. 

Open in new window

So my question is, is this the correct format for adding the key for a 2000 batch:
NumberOfRecordsPerBatch=2000

Open in new window

LVL 9
Rowby GorenAsked:
Who is Participating?
 
bcruse32347Connect With a Mentor Commented:
To add this to the registry the format would be:



REG ADD "HKCU\/SOFTWARE/MIRCROSOFT/OFFICE/11.0/PUBLISHER/PRINTING" /v NumberOfRecordsPerBatch  /t REG_SZ /d 2000

This can be placed into a login script or batch file.
0
 
LeeTutorConnect With a Mentor retiredCommented:
This YouTube video shows you how:

http://www.youtube.com/watch?v=EuNx3MMn-Bc
How to Create String Value in your Windows Registry
0
 
HWHSupportConnect With a Mentor Commented:
If you wanted to do this via a batch file that can be run as an administrator or via a policy, you can create a reg file as follows.

Open notepad and type the following as it appears below:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\11.0\PUBLISHER\PRINTING]
"NumberOfRecordsPerBatch"="2000"



Then save the file as NumRecBatch.reg

You can then call this file from a batch file or user policy as needed.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Rowby GorenAuthor Commented:
Good. Sounds good. Will be testing later today.
0
 
Rowby GorenAuthor Commented:
Will check youtube too and probably split points!  Stay tuned
0
 
Rowby GorenAuthor Commented:
Hi all,

Will award points Tuesday.

:)

Rowby
0
 
LeeTutorretiredCommented:
Rowby, you didn't award points?
0
 
Rowby GorenAuthor Commented:
Hi Lee Tutor <br /><br />I didn't say *which* Tuesday :)<br /><br />Sorry for the delay in awarding the points.<br /><br />They were all excellent solutions.  And I will probably use the batch solution in the future.<br /><br />Rowby
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.