Write a batch file where you will cycle trough colors A0, B0, C0, D0, E0, F0. You can use & to execute another command on the same line with a command. Use PAUSE so you may see the results one at a time. After viewing each color, press Spacebar until you cycle through the entire list of colors.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

PLZ help with the following:

Write a batch file where you will cycle trough colors A0, B0, C0, D0, E0, F0. You can use & to execute another command on the same line with a command. Use PAUSE so you may see the results one at a time. After viewing each color, press Spacebar until you cycle through the entire list of colors.

You can use FOR command with the recursive switch (/R ) to execute a command in every directory within a directory folder , effectively “ walking the tree”, starting from the current directory or from another directory you specify and stepping down through each of the subdirectories.

FOR  /R  %%A  IN  (list)  DO  command

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Stack operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage