Search found 4 matches

by dannyproc
23 May 2022 11:30
Forum: DOS Batch Forum
Topic: User Input -> Update File -> Run Command using updated file
Replies: 1
Views: 5887

User Input -> Update File -> Run Command using updated file

Good Evening Guys I have a slightly complicated request for help. i am trying to automate a process for engineers in work to format the Nand/Flash on HP servers (i work with refurb hardware). Basically, this is an XML file (Force_Format.xml) that is used to format the NAND: <!-- Firmware support inf...
by dannyproc
23 May 2022 11:16
Forum: DOS Batch Forum
Topic: Open, Add Line, Save, Next File Help
Replies: 6
Views: 6709

Re: Open, Add Line, Save, Next File Help

Hi Guys

just wanted to say a thanks for helping me with this! it's simple, but it got the job done :D

massive thank you
by dannyproc
06 May 2022 02:59
Forum: DOS Batch Forum
Topic: Open, Add Line, Save, Next File Help
Replies: 6
Views: 6709

Re: Open, Add Line, Save, Next File Help

Hi, thanks for the reply, that worked almost perfectly! The main file worked flawlessly, but, any idea why it did what it did in the two attached files??? it seems to have made a copy of the highlighted bits, either red to yellow or yellow to red, with the line i added in between?!?!!?
by dannyproc
05 May 2022 04:24
Forum: DOS Batch Forum
Topic: Open, Add Line, Save, Next File Help
Replies: 6
Views: 6709

Open, Add Line, Save, Next File Help

Hi. i have a folder full of around 20 XML files that are created from a diagnostics program that does not provide a style sheet so i am adding one myself. I am looking to create a Batch file that will open each XML, add the line "<?xml-stylesheet type="text/xsl" href="survey.xsl"?>" below the first ...