Export (0) Print
Expand All

How to Use Arguments with Ntdsutil Commands

Some commands take arguments that are shown as either % s or % d in Help. As you probably know, % d is the decimal number specifier and % s is the string specifier for the C-language program print and scan commands. When you enter a command whose Help indicates you use either a % d or % s , enter a number or string respectively. For example, one Help listing shows the following:

connect to server % s

You would type this command as the following:

connect to server xxx

where xxx is the character string you want to substitute for % s . If your string has spaces in it, enclose it in quotation marks as follows:

connect to server "xxxyyy "

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft