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 "