Search found 10 matches
- 20 Jun 2013 20:47
- Forum: DOS Batch Forum
- Topic: How to redirect batch reg query output with findstr?
- Replies: 5
- Views: 7589
Re: How to redirect batch reg query output with findstr?
I fully understand. I generally post results in both places when I do get one.
- 19 Jun 2013 18:30
- Forum: DOS Batch Forum
- Topic: How to redirect batch reg query output with findstr?
- Replies: 5
- Views: 7589
Re: How to redirect batch reg query output with findstr?
That post on the other site (which is my post obviously) does not account for the findstr command. I could already derive this same information using various other methods with differing switches and commands. So something that can redirect this same output but account for the specfic data that the ...
- 19 Jun 2013 01:27
- Forum: DOS Batch Forum
- Topic: How to redirect batch reg query output with findstr?
- Replies: 5
- Views: 7589
How to redirect batch reg query output with findstr?
This script is only a portion of about 200-300 registry statements from the original full file. It sets all registry settings as per each reg add statement.However, applying this script obviously could break something or everything. The script will be applied on a Windows 2008 R2 server. Original st...
- 28 Apr 2013 14:08
- Forum: DOS Batch Forum
- Topic: Insert given variable into existing xml file
- Replies: 6
- Views: 5769
Re: Insert given variable into existing xml file
Funny answer there, split the xml. Btw. in delayed expansion the for loop removes !^ But you don't need delayed expansion in your script. Remove the closing parenthesis before " goto kill_autologon". Yeah it is, but that split works perfectly. I will probably remove the delayed expansion ...
- 28 Apr 2013 01:00
- Forum: DOS Batch Forum
- Topic: Insert given variable into existing xml file
- Replies: 6
- Views: 5769
Re: Insert given variable into existing xml file
Hi Endoro, I know that VBS and PowerShell and mostly any other language can accomplish this much much better. However, I nor any other of our admins knows much more than batch for general scripting. I promise to learn VBS and PowerShell within the next few months! But now is not the time cause our u...
- 27 Apr 2013 21:40
- Forum: DOS Batch Forum
- Topic: Insert given variable into existing xml file
- Replies: 6
- Views: 5769
Re: Insert given variable into existing xml file
Thanks foxidrive for the quick response. However, I am not even sure what language that is? That script is daunting for me so I know our other admins will be even more lost. I should have stated--I am not a programmer and only dabble in batch scripting primarily for creating batch startup scripts. C...
- 27 Apr 2013 18:46
- Forum: DOS Batch Forum
- Topic: Insert given variable into existing xml file
- Replies: 6
- Views: 5769
Insert given variable into existing xml file
Here is what I am trying to accomplish...if this can be accomplished with only batch...for now? Instead of actually renaming the client here from the netdom statement, I want to INSERT the %strComputer% variable into an xml file or at least replace the text with that same variable. The xml file will...
- 23 Mar 2013 16:26
- Forum: DOS Batch Forum
- Topic: Switch characters in MAC address from a variable
- Replies: 2
- Views: 3444
Re: Switch characters in MAC address from a variable
Thank you soo very much mfm4aa! I would have never figured this out.
- 22 Mar 2013 12:36
- Forum: DOS Batch Forum
- Topic: Switch characters in MAC address from a variable
- Replies: 2
- Views: 3444
Switch characters in MAC address from a variable
Hi All, This batch is used with a few other files as start-up scripts as a part of the Symantec Ghost Cast re-imaging process for Windows 7 we are about to undertake. Together they totally automate the entire re-imaging process of Sysprep, renaming the computer from text file, then joining the compu...
- 09 Dec 2011 00:24
- Forum: DOS Batch Forum
- Topic: Automated batch script using netdom to join domain
- Replies: 0
- Views: 7554
Automated batch script using netdom to join domain
Though, I look like one of the most intelligent human beings to ever walk the face of this earth, I am not proficient in scripting nor programming. My basic current setup is: Windows 2003 soon to be 2008 R2 AD schema XP SP3 workstations soon to be Windows 7 (like in a year or two). This is the image...