The first two steps involve creating two .txt files, ReallyImportantProgram1.txt and ReallyImportantProgram2.txt
The contents of the files is not relevant to the exercise.
The third step involves creating a .bat file. A batch file is a script file which contains commands to be executed by the command line interpreter. In our exercise, we used it to create a directory called BackupFolder and in that folder we stored our two text files.
The command copy ReallyImportant*.txt BackupFolder is the one copying the files into the folder. The * tells the interpreter to copy any files with numerals after ReallyImportant, hence why both files are copied.
No comments:
Post a Comment