Question: Create a simple batch file that will clear the screen and display your name, have a blank line, a short paragraph about your favorite movie

Create a simple batch file that will clear the screen and display your name, have a blank line, a short paragraph about your favorite movie or animal, another blank line, and close with a "End of file" comment. Call this batch file demo1.bat Post the contents of your batch file.

Create a simple batch file that will clear the screen and display all the .acm files in the c:\windows\system32 directory. Call this batch file demo2.bat Post the contents of your batch file.

Create a batch file to demonstrate replaceable parameters that will clear the screen and display all the *.%1 files (given on the command line) in the c:\windows\system32 directory. Example: "demo3.bat acm" will list all the *.acm files in the system32 folder. Call this batch file demo3.bat Post the contents of your batch file.

Create a batch file to demonstrate the IF command that the user will pass a number to the batch file, like 4, and if the value matches, print "You won!" If not, give instructions to try again. Call this batch file demo4.bat Post the contents of your batch file. Keep it simple.

Explain how/why an organization might use batch files to manage user files with absolute and relative pathing. Give an example of how each might be used and used together. Hint: Think about a large organization where every user has a duplicate set of directories like ones called working and backup.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!