umount /mnt/prereadrmdir /mnt/prereadmkdir /mnt/prereadchmod 777 /mnt/prereadmount -t cifs //localhost/homes /mnt/preread -o iocharset=utf8,username=nekoecho start.while : ; do nice -19 find /mnt/preread -printf "%a%A@%c%f%F%g%h%i%m%n%s%t%u%Y\n" ; sleep 10done|nice -19 perl -e 'use Time::HiRes qw(sleep);while(<>){sleep(0.001)}'
subst x: .pushd x:\par2 c 〜popdsubst x: /d
set drv=call :search_free_drive drv@echo free_drive : %drv%:subst %drv%: . || pausepushd %drv%:\ || pauseecho nice -19 "%par%" c -b32700 -r3 -m50 -n1 par2 %_x%nice -19 "%par%" c -b32700 -r3 -m50 -n1 par2 %_x%||echo.popdsubst %drv%: /d || pausegoto :EOF:search_free_driveset free_drive=for %%d in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do ^call :search_free_drive_sub1 %%dset %1=%free_drive%exit /b:search_free_drive_sub1 if not "%free_drive%"=="" exit /brem @echo %1:? subst %1: . >NUL || exit /b subst %1: /drem @echo found %1: set free_drive=%1exit /b