CompTIA A+ Core 2 (220-1102) — Question 311
Which of the following file types would be used in the Windows Startup folder to automate copying a personal storage table (.pst file) to a network drive at log-in?
Answer options
- A. .bat
- B. .dll
- C. .ps1
- D. .txt
Correct answer: A
Explanation
.bat files are batch scripts that can execute commands in Windows and are suitable for automating tasks like file copying at log-in. .dll files are dynamic link libraries used for application functions, .ps1 files are PowerShell scripts which may not be executed at startup without additional configuration, and .txt files are plain text files that cannot perform tasks.