How To Edit A Batch File
NoteNew versions of Windows or computers running a no longer support the edit command, which means these steps no longer work. Use the above steps if you are running the latest version of Windows. In the MS-DOS prompt, type: edit test.bat and then press Enter. If typed correctly, you should now see a blue edit screen.
How To Edit A Batch File
In the screen, type:@echo offecho Hello this a test batch filepausedir c:windowspause. After entering these lines, click File and choose exit; when prompted to save, click Yes. Users who do not have a can accomplish this same task by pressing Alt+F to access the file menu, and then X to exit. Press Enter to save changes.
Al-?ilaj bi ar-ruqa min al-kitab wa as-sunnah. Once you are back at the MS-DOS prompt, type: test and press Enter to execute the test.bat file.