well maybe this does not fit your needs, but it works fine as long the OS is Win9x or Win ME

It is dos commands ( bat file ) not kix

code:

@echo off
goto code

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

This shell script will disable or enable the floppy
drive. It is designed to run only on Windoes 95, 98
or millennium. Its usage is very simple :

floppy -e to enable the floppy
floppy -d to disable the floppy


George Bouras
December of 2000
root@novastar.dtdns.net

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

:code
echo.

:: check for windows NT, 2000
ver | find "NT" > nul
if errorlevel==1 goto contin
ver | find "2000" > nul
if errorlevel==1 goto contin
echo you are running NT. Script terminated
goto end
:contin


if "%1"=="-e" goto enable
if "%1"=="-d" goto disable
goto help


:disable
subst | find /i "A" > nul
if errorlevel==1 goto ok1
echo floppy is already disabled
goto end
:ok1
subst a: %temp%
echo floppy is disabled
goto end

:enable
subst | find /i "A" > nul
if not errorlevel==1 goto ok2
echo floppy is already enabled
goto end
:ok2
subst a: /D
echo floppy is enabled
goto end


:help
echo syntax error, use as :
echo.
echo floppy -e to enable the floppy drive
echo floppy -d to disable the floppy drive
goto end

:end
echo.