Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

November 20, 2021 by Admin

HOTSPOT

You have a computer named Computer1 that runs Windows 10 and contains the following files:

-C:\Folder1\File1.bat
-C:\Folder1\File1.exe
-C:\Folder1\File1.cmd

A user named User1 is assigned Read & execute to all the files.

Computer1 is configured as shown in the exhibit.

MD-100 Windows 10 Part 11 Q20 343

MD-100 Windows 10 Part 11 Q20 343

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.

MD-100 Windows 10 Part 11 Q20 345

MD-100 Windows 10 Part 11 Q20 345

MD-100 Windows 10 Part 11 Q20 344

MD-100 Windows 10 Part 11 Q20 344

Explanation:

The command prompt will open in the user profile folder. In the exhibit, USERPROFILE is C:\Users\User1.

PathExt is an Environment Variable that stores a list of the file extensions for operation system to execute. When running a command line that does not contain an extension, the system uses the value of this environment variable to determine which extensions to look for and in what order, such as .com first, follow by .exe, .bat, .cmd, which happens to be the default value stored in the PathExt by Windows.
In the exhibit, PATHEXT shows that .exe comes before .bat and .cmd. Therefore, File1.exe will run.

Leave a Reply