It never ceases to amaze me how powerfull and concise Powershell is. Finally if our list of songs isn't empty we save it off with Set-Content, a great way to save a list of anything.Create the file name for our catalog by isolating the current folder name (Split-Path -Leaf) and sucking out all the spaces by replacing each space with an empty string.NET's GetFileNameWithoutExtension method at times like this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |