Comment each line of your batch file as you create it. Don’t forget to include creation and author information. Create a batch file F:\bat that uses all the required commands and completes the following: Creates a folder named Scripts on the Root of C Add a local user named Aisha Bruce with the username ABruce and the password student Creates a directory in the “E:\CompanyInc\Management” folder named “ABruce_Files” Creates an ACE for “ABruce” to the “ABruce_Files” folder with these explicit permissions: Full Control Re-establishes inheritance to sub-folders and files Copies the application cmd.exe from the C:\Windows\System32 folder to the “ABruce_Files” folder Addes ABruce to your Management Group created in assignment 3

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 3E
icon
Related questions
Question

Create a batch file

  • Your batch file should include all required comments for creation and author information.
  • Your batch file must include but is not limited to these commands:
    • ECHO
    • CD
    • NET
    • ICACLS
    • MKDIR
    • COPY

 

  • Comment each line of your batch file as you create it. Don’t forget to include creation and author information.
  • Create a batch file F:\bat that uses all the required commands and completes the following:
  • Creates a folder named Scripts on the Root of C
  • Add a local user named Aisha Bruce with the username ABruce and the password student
  • Creates a directory in the “E:\CompanyInc\Management” folder named “ABruce_Files”
  • Creates an ACE for “ABruce” to the “ABruce_Files” folder with these explicit permissions:
    • Full Control
    • Re-establishes inheritance to sub-folders and files
  • Copies the application cmd.exe from the C:\Windows\System32 folder to the “ABruce_Files” folder
  • Addes ABruce to your Management Group created in assignment 3
  • Produces an ICACLS Report for “ABruce_Files” called “icaclsReport.txt” in the root of your Scripts folder.
  • Moves F:\NewUser.bat to the root of C:\Scripts
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Linux
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning