Hi success at last, when the last post indicating all Ok. Tried again.
and success
@echo off
set i=0
do line in /p mediachanger fullslots
iff "%line" NE "" then
set line%i="%line"
set i=%@inc[%i]
endiff
enddo
echo %line1%
echo %line2%...
Vince still no joy
here is the file
set i=0
do line in /p ping lucky.syr.edu
iff "%line" NE "" then
set line%i=%line
set i=%@inc[%i]
endiff
enddo
exit
here is the output
set i=0
do line in /p ping lucky.syr.edu
exit
tried as...
Vince thanks for the reply bit I tried dodo.bat and it returns no output only get
c:\batch\dodo.bat
set i=0
do line in /p ping ilucky
I tried ping ilucky and do get an output from this command
Hi,
I have managed to capture the output of program mediachanger.exe as follows
for /f "usebackq delims=" %i in (`mediachanger unmount`) do set changer_reply=%i
unfortunately some of the output from mediachanger is over multiple lines as follows
000: full
001: full
002: full
003: full...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.