Run commands after one another.
#1
Is there a way to run commands after one is done in cmd?

If I have multiple commands-

Hashcat.exe -d 1 -m 101 -w 4 hash.hash C:\words
Hashcat.exe -d 1 -m 949 -w 4 hash2.hash C:\list
Hashcat.exe -d 1 -m 555 -w 4 hash3.hash C:\text

How do I run them consecutively instead of waiting for one to finish and manually running it?
Reply
#2
take a look at windows batchfiles

more or less simple like, take a file, copy these three lines into it, store it as run.bat and then call run.bat from commandline
Reply
#3
If your on windows you can group multiple commands in the CMD using the ; symbol

example:
Hashcat.exe -d 1 -m 101 -w 4 hash.hash C:\words ; Hashcat.exe -d 1 -m 949 -w 4 hash2.hash C:\list ; Hashcat.exe -d 1 -m 555 -w 4 hash3.hash C:\text
Reply