|
Answer» I have encountered a problem with a number of pc's and need to ADD a few lines into a file. I can get my BATCH file to OPEN the file for editing, but after that I am stuck.
I may not be going about the edit in the apporpriate way...
I have included the file contents and SPACED EVERYTHING out with pause for ease of debugging.
Thanks
c: pause cd c:\program files\ibm\ pause dir pause EDIT tn3270.wsAre you trying to add some lines to the tn3270.ws file? If so, try this: Code: [Select]cd /d "c:\program files\ibm\" pause dir pause echo This is the first line of text to add to the file >>tn3270.ws echo This is the second line of text to add to the file >>tn3270.ws echo This is the third line of text to add to the file >>tn3270.ws
|