What we want to do python myapp.py folder/*.txt Correct usage python myapp.py (Get-Item folder/*.txt)