Contents
How do you write a script and save it?
To save a script
Press CTRL + S or, on the toolbar, click the Save icon, or on the File menu, click Save.
How do I write a Windows script from command line?
Creating a Text File Script
- Open Notepad. …
- In the second line, type: dir “C:Program Files” > list_of_files.txt.
- Select “Save As” from the File menu and save the file as “program-list-script. …
- Double-click the new text file on your desktop to see the list of files and folders.