Windows network card settings via script
Another day of windows reminds me how great Mac OSX is, even when it has it own peculiar things. I had to set lots of IPs, switch them often etc.. so I used this script to automatically change the ip address of a network card.
netsh int ip set address name="Local Area connection" source=static addr=10.64.10.84 mask=255.255.255.0 gateway=10.64.10.1 netsh in ip set dns name="Local Area connection" source=static addr=10.64.0.1
Another thing which I had to do is start some applications in a sequential order. This script will first start a database server minimized, then causes a dely by using a ping. After that it starts my the desired application.
start /min /d "C:\Users\U\Desktop\APP_QR_SERVER\" qr_server.exe ping -n 6 www.google.com start /d "C:\Users\U\Desktop\APP_STREAMING\" streaming_app.exe