Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Adding Text/Value to the services file

21 Apr 2014   #1
ryonin

Windows 8 Pro 32bit
 
 
Adding Text/Value to the services file

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 System SpecsSystem Spec
.
21 Apr 2014   #2
Alejandro85

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
Reply

 Adding Text/Value to the services file




Thread Tools




Similar help and support threads
Thread Forum
Adding a Plain Text to TOC in Word2010
Hi all, I trying to a add a plain text, which is not appearing in the original text, to my existing TOC list in microsoft word. I am trying to add a word "Chapters" to my TOC. But, I cannot. I typing it inside the TOC but when I update TOC list, the word "Chapters" disappears. Is there a way to...
Microsoft Office
Text services and Input Languages
Hello: I have the settings shown in the attached file. I believe the second Kyeboard is installed by my app "Keyboard Layout Manager". However, I want to start from scratch, and go back to only one keyboard (and reinstall KLM). But I can only delete keyboard US, not keyboard Hans. I feel I...
Customization
Text services and input cannot save changes
hi guys, I have another input language installed other than english itself. I tried to change the hotkeys to switch to the specific ime but whenever I clicked apply and exit, it will switch back to its original hotkeys the next time I re-enter and check. I am running windows 7 ultimate 64bit....
General Discussion
Registry: Text Services and Input Languages - Add Keyboard?
Using Windows 7, I would like to add keyboard under English (United States). Where is the registry key? I know in Windows XP it's quite simple. It's by referring to .IME files. But there is no "IME File" key in Windows 7 Registry.
General Discussion
Adding text to a .pdf file
I have an official document that I have scanned in to a .pdf file, and I want to add some text that says 'I certify that this is a true copy of this document' (I do not want to change the document itself, and this will save me having to write this text on 20 pages). Is there a simple (and cheap)...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App