Adding Text/Value to the services file

ryonin

New member
Local time
1:57 AM
Messages
1
Hi, just would to ask if you have a script wherein you can add a value, text, or line to services file found in C:\Windows\System32\drivers\etc? Need to add new value to services file for a lot of computers and all i can think of easy way to do this is via script. Hope someone could help me.
Thank you and God bless!
 

My Computer

Computer type
PC/Desktop
OS
Windows 8 Pro 32bit
Quite simple, just a one-liner bat file will do:

Code:
ECHO your line to add >> C:\Windows\System32\drivers\etc

Remember that, since the whole Windows folder is read-only to users, you must run it as administrator, otherwise you'll get an access denied.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top