Oracle, Web, Script, SQLserver, Tips & Trick

February 25, 2013

Example to create many users incremental using cmd

Filed under: dos — sikathabis @ 4:12 pm
Tags: ,

Copy this script and save to batch file, or run from cmd

echo FOR %%A IN (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600) DO NET USER USER%%A PASSWORD /ADD /DOMAIN > create_user.bat
create_user.bat

pause

When you run the script, then automating create to user

USER001
USER002
USER003
USER004
USER005
USER006
USER007
USER008
USER009
USER010
USER011
USER012
USER013
USER014
USER015
USER016
USER017
USER018
USER019
USER020
USER021
USER022
USER023
USER024
USER025
USER026
USER027
USER028
USER029
USER030
USER031
USER032
USER033
USER034
USER035
USER036
USER037
USER038
USER039
USER040
USER041
USER042
USER043
USER044
USER045
USER046
USER047
USER048
USER049
USER050
USER051
USER052
USER053
USER054
USER055
USER056
USER057
USER058
USER059
USER060
USER061
USER062
USER063
USER064
USER065
USER066
USER067
USER068
USER069
USER070
USER071
USER072
USER073
USER074
USER075
USER076
USER077
USER078
USER079
USER080
USER081
USER082
USER083
USER084
USER085
USER086
USER087
USER088
USER089
USER090
USER091
USER092
USER093
USER094
USER095
USER096
USER097
USER098
USER099
USER100
USER101
USER102
USER103
USER104
USER105
USER106
USER107
USER108
USER109
USER110
USER111
USER112
USER113
USER114
USER115
USER116
USER117
USER118
USER119
USER120
USER121
USER122
USER123
USER124
USER125
USER126
USER127
USER128
USER129
USER130
USER131
USER132
USER133
USER134
USER135
USER136
USER137
USER138
USER139
USER140
USER141
USER142
USER143
USER144
USER145
USER146
USER147
USER148
USER149
USER150
USER151
USER152
USER153
USER154
USER155
USER156
USER157
USER158
USER159
USER160
USER161
USER162
USER163
USER164
USER165
USER166
USER167
USER168
USER169
USER170
USER171
USER172
USER173
USER174
USER175
USER176
USER177
USER178
USER179
USER180
USER181
USER182
USER183
USER184
USER185
USER186
USER187
USER188
USER189
USER190
USER191
USER192
USER193
USER194
USER195
USER196
USER197
USER198
USER199
USER200
USER201
USER202
USER203
USER204
USER205
USER206
USER207
USER208
USER209
USER210
USER211
USER212
USER213
USER214
USER215
USER216
USER217
USER218
USER219
USER220
USER221
USER222
USER223
USER224
USER225
USER226
USER227
USER228
USER229
USER230
USER231
USER232
USER233
USER234
USER235
USER236
USER237
USER238
USER239
USER240
USER241
USER242
USER243
USER244
USER245
USER246
USER247
USER248
USER249
USER250
USER251
USER252
USER253
USER254
USER255
USER256
USER257
USER258
USER259
USER260
USER261
USER262
USER263
USER264
USER265
USER266
USER267
USER268
USER269
USER270
USER271
USER272
USER273
USER274
USER275
USER276
USER277
USER278
USER279
USER280
USER281
USER282
USER283
USER284
USER285
USER286
USER287
USER288
USER289
USER290
USER291
USER292
USER293
USER294
USER295
USER296
USER297
USER298
USER299
USER300
USER301
USER302
USER303
USER304
USER305
USER306
USER307
USER308
USER309
USER310
USER311
USER312
USER313
USER314
USER315
USER316
USER317
USER318
USER319
USER320
USER321
USER322
USER323
USER324
USER325
USER326
USER327
USER328
USER329
USER330
USER331
USER332
USER333
USER334
USER335
USER336
USER337
USER338
USER339
USER340
USER341
USER342
USER343
USER344
USER345
USER346
USER347
USER348
USER349
USER350
USER351
USER352
USER353
USER354
USER355
USER356
USER357
USER358
USER359
USER360
USER361
USER362
USER363
USER364
USER365
USER366
USER367
USER368
USER369
USER370
USER371
USER372
USER373
USER374
USER375
USER376
USER377
USER378
USER379
USER380
USER381
USER382
USER383
USER384
USER385
USER386
USER387
USER388
USER389
USER390
USER391
USER392
USER393
USER394
USER395
USER396
USER397
USER398
USER399
USER400
USER401
USER402
USER403
USER404
USER405
USER406
USER407
USER408
USER409
USER410
USER411
USER412
USER413
USER414
USER415
USER416
USER417
USER418
USER419
USER420
USER421
USER422
USER423
USER424
USER425
USER426
USER427
USER428
USER429
USER430
USER431
USER432
USER433
USER434
USER435
USER436
USER437
USER438
USER439
USER440
USER441
USER442
USER443
USER444
USER445
USER446
USER447
USER448
USER449
USER450
USER451
USER452
USER453
USER454
USER455
USER456
USER457
USER458
USER459
USER460
USER461
USER462
USER463
USER464
USER465
USER466
USER467
USER468
USER469
USER470
USER471
USER472
USER473
USER474
USER475
USER476
USER477
USER478
USER479
USER480
USER481
USER482
USER483
USER484
USER485
USER486
USER487
USER488
USER489
USER490
USER491
USER492
USER493
USER494
USER495
USER496
USER497
USER498
USER499
USER500
USER501
USER502
USER503
USER504
USER505
USER506
USER507
USER508
USER509
USER510
USER511
USER512
USER513
USER514
USER515
USER516
USER517
USER518
USER519
USER520
USER521
USER522
USER523
USER524
USER525
USER526
USER527
USER528
USER529
USER530
USER531
USER532
USER533
USER534
USER535
USER536
USER537
USER538
USER539
USER540
USER541
USER542
USER543
USER544
USER545
USER546
USER547
USER548
USER549
USER550
USER551
USER552
USER553
USER554
USER555
USER556
USER557
USER558
USER559
USER560
USER561
USER562
USER563
USER564
USER565
USER566
USER567
USER568
USER569
USER570
USER571
USER572
USER573
USER574
USER575
USER576
USER577
USER578
USER579
USER580
USER581
USER582
USER583
USER584
USER585
USER586
USER587
USER588
USER589
USER590
USER591
USER592
USER593
USER594
USER595
USER596
USER597
USER598
USER599
USER600

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Teknologi Pendidikan

Just another WordPress.com weblog

KATAKAMI

Jurnalisme Yang Dapat Dipercaya

Tonk Kosonk Baonk Bunyinya

Penampungan Serapah Tanpa Sumpah

Qey050489's Blog

Ayo Bangkit sobat..!!!!!

B. S. Totoraharjo

Orang Bodoh Yang Tak Kunjung Pandai

culturekitchen foodlab

New Food and Art in Yogyakarta

Wahyu Catur Wibowo

Musafir Dunia Maya

SQL.... Still Learning

My Reference on SQL Server

neinframe

Street Photography is like a box of a chocolates, you're never know what you're gonna get - Thomas Leuthard -

Keluarga Andrivito

-- Andrivito's Journal --

DRK™

This site is about Latest NEWS, Articles, Videos, Books, Course, Presentations, Tips & Tricks related to I.T Pro's

Gaurav Saxena

|| तत् त्वम् असि ||

Be a good Moeslim

Menuju Pribadi Muslim Sejati yang Bertaqwa

TuanSUFI

Manajemen Sholat, renungan spiritual, Teknologi Informasi

Pelangi di khatulistiwa....

Mari berbagi kebaikan, pengalaman dan senyum denganku

angkasa13

Ceritanya saya, Pikirannya saya, Hatinya saya

sikathabis

sikathabis semua informasi disini

%d bloggers like this: