1.

Solve : Help to create a batch file?

Answer» <html><body><p>Hello<br/><br/>I am new to this forum and am not <a href="https://interviewquestions.tuteehub.com/tag/sure-656539" style="font-weight:bold;" target="_blank" title="Click to know more about SURE">SURE</a> where to post this.. so moderator please feel free to move this post into the appropriate section..<br/><br/>Now my issue, I have a <a href="https://interviewquestions.tuteehub.com/tag/text-11613" style="font-weight:bold;" target="_blank" title="Click to know more about TEXT">TEXT</a> file(not empty) which I have to open, save and close using a batch file. I am <a href="https://interviewquestions.tuteehub.com/tag/able-361137" style="font-weight:bold;" target="_blank" title="Click to know more about ABLE">ABLE</a> to open the file and close it but not able to save it. I do not want to write anything to the file.  So can somebody please tell me if I can save the file using batch file <a href="https://interviewquestions.tuteehub.com/tag/commands-18925" style="font-weight:bold;" target="_blank" title="Click to know more about COMMANDS">COMMANDS</a>..<br/>Please find my code below for opening an closing the file..<br/> Code: <a>[Select]</a>echo off<br/>start ED.txt <br/>taskkill /f /<a href="https://interviewquestions.tuteehub.com/tag/im-504522" style="font-weight:bold;" target="_blank" title="Click to know more about IM">IM</a> notepad.exe<br/>Exit<br/><br/>thank you for your time</p></body></html>


Discussion

No Comment Found