summaryrefslogtreecommitdiffstatsabout
path: root/deltapall.bat
diff options
context:
space:
mode:
authorjiaojinxing <jiaojinxing1987@gmail.com>2014-11-04 06:44:42 (GMT)
committer jiaojinxing <jiaojinxing1987@gmail.com>2014-11-04 06:44:42 (GMT)
commit3a1527e9882cba8f06a8a0fa9b8736ffa35a27bb (patch)
tree7f60140e795df967a7451f5299abdeb8fed8da96 /deltapall.bat
parente2744e65f8bc3c9de98b017917fe1c9f402c6190 (diff)
downloadqemu-mini2440-3a1527e9882cba8f06a8a0fa9b8736ffa35a27bb.zip
qemu-mini2440-3a1527e9882cba8f06a8a0fa9b8736ffa35a27bb.tar.gz
qemu-mini2440-3a1527e9882cba8f06a8a0fa9b8736ffa35a27bb.tar.bz2
Fix virtual net card driver BUG on 32bit system.
Diffstat (limited to 'deltapall.bat')
-rw-r--r--deltapall.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/deltapall.bat b/deltapall.bat
index 6610ee9..b256325 100644
--- a/deltapall.bat
+++ b/deltapall.bat
@@ -1,4 +1,12 @@
echo WARNING: this script will delete ALL TAP virtual adapters (use the device manager to delete adapters one at a time)
pause
+
+@echo off
+if /i %PROCESSOR_ARCHITECTURE% == x86 (
+ cd x86
+) else (
+ cd x64
+)
+
"tapinstall.exe" remove tap0901
pause