Batch script to: create, record, archiving
Posted: 29 Jan 2022 10:16
Hello everyone! Could you, guys, help with this bath script:
- Creates in the current directory (in which the bat-file is located) a directory"Screenshots_current_date" and moves there from the current directory all files with the extension specified as the first parameter passed from the command line.
- Writes the names of all moved files to the d:\screenshots.found file (appends to the end of the file or creates a new one if there was none), which is located in the same directory as a launched batch file.
- Archives a folder with the moved files and deletes its original.
- Waiting for any key to be pressed to complete.