How to edit a line in a file using a batch file??????
Basically i want to edit one line in a properties file, using a batch file, Here is what it says
#Minecraft server properties
#Tue Feb 22 15:58:36 PST 2011
level-name=world2
hellworld=false
spawn-monsters=true
online-mode=false
spawn-animals=true
max-players=5
server-ip=5.196.238.77
pvp=true
server-port=25565
white-list=false
The IP address needs to be changed, i have a hamachi server and a server for home but i need to change this to my ip address on my computer wich is 192.168.1.74. This needs to be changed back and forth so how can i make a batch that just runs and then done its been changed.
#Minecraft server properties
#Tue Feb 22 15:58:36 PST 2011
level-name=world2
hellworld=false
spawn-monsters=true
online-mode=false
spawn-animals=true
max-players=5
server-ip=5.196.238.77
pvp=true
server-port=25565
white-list=false
The IP address needs to be changed, i have a hamachi server and a server for home but i need to change this to my ip address on my computer wich is 192.168.1.74. This needs to be changed back and forth so how can i make a batch that just runs and then done its been changed.
imac 21.5, Mac OS X (10.6.5), hi