Remve pauses

replace cd with pushd/popd
This commit is contained in:
Itay Mizeretz 2017-09-10 10:27:54 +03:00
parent 5ba035495c
commit fcf4b85a5f
4 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,4 @@
@echo Are you sure? (Press Any Key)
@pause
@rmdir /s /q db
@mkdir db
@pause
@mkdir db

View File

@ -1,4 +1,3 @@
bin\openssl\openssl.exe genrsa -out cc\server.key 1024
bin\openssl\openssl.exe req -new -config bin\openssl\openssl.cfg -key cc\server.key -out cc\server.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=Monkey Department/CN=monkey.com"
bin\openssl\openssl.exe x509 -req -days 366 -in cc\server.csr -signkey cc\server.key -out cc\server.crt
pause
bin\openssl\openssl.exe x509 -req -days 366 -in cc\server.csr -signkey cc\server.key -out cc\server.crt

View File

@ -1,4 +1,4 @@
@title C^&C Server
@cd cc
@pushd cc
@..\bin\Python27\python main.py
@pause
@popd

View File

@ -1,3 +1,2 @@
@title MongoDB
@bin\mongodb\mongod.exe --dbpath db
@pause
@bin\mongodb\mongod.exe --dbpath db