[GTER] Retorno para variavel em MS-DOS

Edinilson - ATINET edinilson at atinet.com.br
Tue Jan 5 09:49:08 -02 2010


http://www.the-scream.co.uk/forums/t21196.html


Edinilson
---------------------------------------------------------
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


----- Original Message ----- 
From: "Fabricio Veiga" <fabriciostuff at gmail.com>
To: <gter at eng.registro.br>
Sent: Tuesday, January 05, 2010 8:44 AM
Subject: [GTER] Retorno para variavel em MS-DOS


Bom dia senhores!

Como obter o retorno de algum comando, por exemplo dir, para uma variável no
MS-DOS ?
Pesquisando através do Google, não encontrei informações de como realizar
esta atribuição.

Ex.: set %teste%=dir
OBS.: Desta maneira, é exibido ao imprimir a variável, o contéudo "dir".

Obrigado a todos.

Att,

Fabrício Veiga
--
gter list    https://eng.registro.br/mailman/listinfo/gter




More information about the gter mailing list