The DOS EDIT command includes a find/replace function, but I suspect that that's not what you're after. Can you give a little more detail about what you need to accomplish? It might also be helpful if you explain why it needs to be done with DOS. -- Tom
Hi TomLiotta,Thanks for the reply.Actually I have a text file.In that text file,I need to replace a constant (010000) with another constant value (d00000).I need to make this commands in .bat format and schedule in server.Thanks
I need to make this commands in .bat format...
Now the question becomes why does it have to be .BAT format?
That is, why do you care how it's done? Why not use VBscript or Jscript or any number of possible alternatives? It's possible it could be done with DOS in a .BAT file, but I don't know how. It'll be interesting if someone has an answer.
Tom
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 4  Replies