Question: Script I need help with this script. It is to run it on the command prompt (CMD). Mainly I need help with the options 5,6,

Script

I need help with this script. It is to run it on the command prompt (CMD).

Mainly I need help with the options 5,6, and 7. Additionally if possible, please change the time to a 12 hour format and make it so that when I choose an option it does not automatically exit the script. By this I mean that I want to choose multiple options and only when I choose option 8 will the script will end/exit.

Option 5: In this option I need to show the user the version of windows. Nothing else

Option 6: This one is similar to options 1,3,and 4 in the sense that I want to start a program through the command prompt. The program I want the script to run is the "Get Help app" that is already integrated in windows 10. See the image below.

Script I need help with this script. It is to run itIts this program

Option 7: Similar to option 5 but I need to show the device specifications that are found on settings. For example Processor, Installed RAM, and System Type.

Instructions below:

The script is a ".bat" file. Place it on C:\Users\NAME\COURSE FOLDER\Scripts and run it on a CMD window. Options 1-4 already work.

The name of the file is "Menu.bat".

The code of the script is found below:

@echo off for /F "tokens=2" %%i in ('date /t') do set mydate=%%i set mytime=%time/t% echo Program started at %mytime/t% on %mydate% echo ################################# echo. echo MENU TO EXECUTE COMMANDS echo. echo NAME:/*-/*-*/-*/-*/-*/-/-/-*/ echo ################################# echo. echo 1. Open Chrome echo 2. Copy a file echo 3. Open a new CMD window echo 4. Transfer files using Bluetooth echo 5. Version of windows currently installed echo 6. Help/Support echo 7. Hardware of the device(Device Specifications) echo 8. Exit

set /p Option=%1

if %Option%==1 start chrome if %Option%==2 copy SomeFile.txt CopyOfSaidFile.txt if %Option%==3 start %systemroot%\system32\cmd.exe if %Option%==4 fsquirt if %Option%==5 if %Option%==6 if %Option%==7 if %Option%==8 exit

Please include a screenshots of the solution working

? Get Help App ? Get Help App

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!