I have an issue when I am using dir
command in the Windows terminal (Powershell). I see no output. I am just wondering what is wrong because the Powershell command line is working fine...
Many thanks for any help!
Maybe the files are hidden, try running Dir -force
Dir
is an alias of Get-childitem
Try the following command to see this:
Get-Alias dir
I would recommend that you stop using Dir
and just use Get-childitem
Other useful Get-childitem
options:
Set-Location C:\temp # This changes the location of the folder you are in.
Get-ChildItem C:\temp -Recurse # get all files in all folders
I'm not sure what else to suggest. Get-Childitem is usually a reliable command and providing there are files in the folder, then they are usually displayed.