How do I write a script in CMD?

How do I write a script in CMD?
Answer
Creating a Text File Script
  1. Open Notepad. …
  2. In the second line, type: dir “C:program Files” > list_of_files.txt.
  3. Select “Save As” from the File menu and save the file as “program-list-script. …
  4. Double-click the new text file on your desktop to see the list of files and folders.
 

Tìm kiếm

Back
Top