Hi i need help in these questions it will be very helpfull if you can answers all questions in here
thanks have a great day
VE Andy is writing a batch file and wants to create a log of the Windows system32 directory and all its subdirectories ascending in size from smallest to largest. Which code line will perform this action? dir /og/s c:\Windows\system32>c\Temp\mySystem32Log.txt dir /os/b c:Windowssystem32>c\Temp\mySystem32log.txt dir/oh /s c:\Windows\system32 > CTemp\mySystem32Log.txt dir /on/s/b c Windows\system32 > C:\Temp\mySystem32Log.txt dir/os/s :Windowssystem32 > C:\Temp\mySystem32Log.txt Question 3 When setting the attribute for a file or folder to read-only, which switch is used with the "attrib" command? Is +S +r Ir Question 4 Removing non-empy directories and sub-directories, the following command is used? rm /s/q rmdir / rddir /s/q rmdir /s/a Question 5 Using the command "dir 70/N/P" performs a sort-Order by which of the following? Extension Name Size Group first estion 6 10 points Save Aswer Admin John is writing a batch file to backup data files on his system. He want to put the date into the log files so that he can keep updates current Which line of code is correct? echo %DATE >>> >\Users\John Logs\backup 03.04.2018.txt echo DATE > CAUsers\John Logs\backup_03_04_2018.txt echo %DATE% >> c\Users Vohn Logs\backup03.04.2018.txt Question 7 To copy directories, which command is used at the command prompt? xcopy le copy le robocopy /s copy supercopy la 10 points S In batch files, the command echo is used to display data on the screen. Which code line example prevents echo from displaying data but still allows itself to be displayed? @echo on Becho off echo off REM echo off 10 points Save Answe Admin John is writing a batch file to backup data files on his system. He want to put the time onto the screen when he runs the batch file. Which line of code is correct? echo %TIME echo %TIME% echo TIME Cecho TIME Question 10 To erase or delete read-only files in a directory, which of the following commands must be used? del erase /p del/f erase/p/9 remove Save Ans Question 11 10 points Which of the following will create the log file "raskListLog.txt" in c\Temp\adminlog/directory after using the tasklist" command at the command prompt? tasklist > \Temp\adminnlog tasklistlog.txt tasklist >> Templadmintog tasklist.og txt tasklist ektempladminlog tasklistlog txt tasklist > Templadminlog tasklistlog.txt tasklist>eTempladmin tasklistlog.txt Question 12 10 points in batch files, the command echo is used to display data on the screen. Which code line example prevents echo from displaying data? Save Answe @echo on echo off echo off REM echo off Question 13 10 points Sav An administrator used the command "mkdir C:\Users\Peter Documents\myfiles myLogsmyApps at the command prompt. How many sub directories were created? 1 4 6 2 5 3