As for your example though, Windows usually shortens path components longer than 8 characters as the path gets longer (so 'Program Files' becomes 'PROGRA~1') so long single components aren't as problematic as many shorter components.
We can apply filters on it get the files older than we need. This script searches for files in a given directory path and calculates the age of each file. In today’s article, I will take you through a PowerShell script that helps to get the list of files that are older than a given number of days.
Figure_vector_loaded shows QGIS after loading the alaska.shp file. More than one layer can be loaded at the same time by holding down the Ctrl or Shift key and clicking on multiple items in the dialog.