@echo off echo Before input comand "set sector=???" echo Now set sector=%sector% echo Now set sector=NUL is "scan biginning" echo; echo ...After end of scan. Run "logcopy.bat" echo; echo STOP Ctrl+C after Y
pause
echo a%sector% > a.txt echo a >> a.txt
echo @echo off> logcopy.bat echo echo Insert a NewFloppyDISK for LogCopy.>> logcopy.bat echo echo STOP Ctrl+C after Y>> logcopy.bat echo pause>> logcopy.bat echo copy all.log+a:\all.log a:\all.log>> logcopy.bat
:start hddreg < a.txt copy hddreg.log last.log if not exist last.log goto end copy y.txt a.txt cutt -f2 -d\s last.log >> a.txt echo y >> a.txt copy all.log+hddreg.log all.log goto start :end