![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Aug 2002
Posts: 1
|
Auto Export Batch Script
# NS1AutoExport.py Version 1.0 1/30/2003
# Troy Sorzano - Info Packaging # # I had 61 NS1 files (~6megs) that I needed to export as text. # being lazy I did not want to do this manualy so I whipped up # this Python script. you will need W32 Python from # http://www.activestate.com # # Command line: # python NS1AutoExport.py <export type> <conversion path> # # <export type> S = Summary, T = Text, W = Wi-scan # # <conversion path> is the location of your *.NS1 files and # where the exported *.TXT will be placed. NS1AutoExport will # read the directory of <conversion path> and for each *.NS1 file: # 1. load netstumbler with the file. # 2. export the file as <export type> to <FileName>.txt # # Example Comand line: # python NS1AutoExport.py T d:\data\wardriving # # netstumbler needs to be in your path or the location you run # this script from there is NO error checking in this script. Make # sure you don't have *.TXT files in the <conversion path> that # will cause overwrite warnings. ie. first time you run the script it # creates *.TXT files. If you run it again and you have not # deleted those *.TXT files netstumbler will prompt you to press # yes or no to overwrite the duplicate scripts. That will break the # script. # # use at your own risk. this script may screw up your computer. # this script may screw up your life. this script may do all kinds # of bad things that you don't want it to. I don't think you should # run it. you have been warned. please rename the NS1AutoExport.txt file to NS1AutoExport.py |
|
|
|
|
|
#2 (permalink) |
|
Registered Member
Join Date: Jan 2003
Posts: 28
|
What would work great with this is my java app that I made for MapPoint 2k2.
http://forums.netstumbler.com/showth...&threadid=5507
__________________
My local area: http://www.thenidus.net/Local_Map.gif |
|
|
|