There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware missing monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Batch file to change reg key data help


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
hpludesi's Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2004
Experience: Intermediate
23-Jul-2004, 12:53 PM #1
Batch file to change reg key data help
Hi all, i already got the batch file to work, but the problem is that i have over 100 pc's that i need to change, and there are 3 values that i need to change, and everytime it try to change something it tells me that it already existed, overwrite y/n, i dont want to have to click yes to all of them, is there a way to put a command in the batch file to answer yes to all the overwrites????
draceplace's Avatar
Computer Specs
Senior Member with 590 posts.
 
Join Date: Jun 2001
Location: Conway, Arkansas
Experience: MCSE for what its worth!
23-Jul-2004, 03:11 PM #2
If your running server 2K or 2003 you might look at doing this with a group policy (GPO) rather than a Bat/cmd file.
guard's Avatar
Junior Member with 10 posts.
 
Join Date: Jun 2004
24-Jul-2004, 11:04 AM #3
Quote:
Originally Posted by hpludesi
Hi all, i already got the batch file to work, but the problem is that i have over 100 pc's that i need to change, and there are 3 values that i need to change, and everytime it try to change something it tells me that it already existed, overwrite y/n, i dont want to have to click yes to all of them, is there a way to put a command in the batch file to answer yes to all the overwrites????
If you'll post some sample code, I can help you.
mattslav's Avatar
Junior Member with 3 posts.
 
Join Date: Aug 2004
Experience: Intermediate
15-Aug-2004, 02:52 PM #4
whenever a command doesn't give you a switch to supress any outputs, e.g. xcopy's /y, you can pipe a response by adding an echo in front of the command:

echo y| <command>

-Matt
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:55 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.