diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2002-09-09 21:56:38 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2002-09-09 21:56:38 +0000 |
commit | 8dcdc4766bb1bad883b8cd1ee03ef0c2ad24a5bb (patch) | |
tree | 5dcb7123054b3e34fa02ccc1848ca91c201052bc /pyparallel/src/win32/remove_giveio.bat | |
parent | 71e69de63f8abf1eb5d0e623f11f66e1ef0a7bc2 (diff) | |
download | pyserial-git-8dcdc4766bb1bad883b8cd1ee03ef0c2ad24a5bb.tar.gz |
remove loading of giveio (NT/2k/XP) driver within extension.
use loaddrv.exe to load the driver. it stays loaded accross system boots.
the batchfiles *_giveio.bat are there to install or remove the driver
Diffstat (limited to 'pyparallel/src/win32/remove_giveio.bat')
-rw-r--r-- | pyparallel/src/win32/remove_giveio.bat | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pyparallel/src/win32/remove_giveio.bat b/pyparallel/src/win32/remove_giveio.bat new file mode 100644 index 0000000..c75caea --- /dev/null +++ b/pyparallel/src/win32/remove_giveio.bat @@ -0,0 +1,13 @@ +@set DIRVERNAME=giveio + +@loaddrv stop %DIRVERNAME% +@if errorlevel 2 goto error + +@loaddrv remove %DIRVERNAME% +@if errorlevel 1 goto error +@goto exit + +:error +@echo ERROR: Deinstallation of %DIRVERNAME% failed +:exit +@pause |