Thursday, November 22, 2018

Get the list of filenames in a folder

1) Open PowerShell
2) Navigate to the folder which content you wanna export
3) Type & Enter this command :

Get-Childitem -PAth . > C:\path\where\to\store\the\file\filenames.txt

That's it!