Fixed run_scapy.bat to work under Python 2.6

The old batch file worked on Python 2.5 but lead to the
following error under Python 2.6:
c:\Python26\python.exe: scapy is a package and cannot be directly executed
New file should work under both versions.
This commit is contained in:
Dirk Loss 2009-10-30 22:34:19 +01:00
parent c5fa52bbdf
commit d3648de762
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
@echo off
set PYTHONPATH=%cd%
python -m scapy
python -m scapy.__init__