Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

viniref

Batch file (.Bat) Em Shell script (.Sh)

Recommended Posts

Alguém pode me ajudar convertendo esses 3 códigos abaixos de um arquivo .bat meu, para eu criar um .sh para linux.

Segue os códigos:

 

Código 1:

 

@echo off

@echo /////////////GB Raiden////////////////

 

cd gunboundbroker

GunBoundBroker3 -install

cd ../gunboundserv

GunBoundServ3 -install

cd ../gunboundserv2

GunBoundServ3 -install

cd ../buddycenter

BuddyCenter2 -install

cd ../buddyserv

BuddyServ2 -install

cd ../gunboundserv

PAUSE

---------------------------------------------------------------------

 

Código 2:

 

@echo off

@echo /////////////GB Raiden////////////////

 

net start GunBoundXPServ[8360]

net start GunBoundXPServ[8361]

net start GunBoundXPBroker[8372]

net start BuddyService

net start BuddyCentralService

 

PAUSE

 

----------------------------------------------------------------------

 

Código 3:

 

@echo off

@echo /////////////GB Raiden////////////////

 

cd gunboundbroker

GunBoundBroker3 -remove

cd ../gunboundserv

GunBoundServ3 -remove

cd ../gunboundserv2

GunBoundServ3 -remove

cd ../buddycenter

BuddyCenter2 -remove

cd ../buddyserv

BuddyServ2 -remove

 

PAUSE

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.