Command-line shells, commands like dir /p not working but dir does work

  • Thread starter Thread starter RickRagan001
  • Start date Start date
R

RickRagan001

Guest
I am using W'10, Administrative Windows Power Shell, command line.When I do a "DIR" it works, but when I add parameters, I get this error message:-----------------PS C:\> dir /sdir : Cannot find path 'C:\s' because it does not exist.At line:1 char:1+ dir /s+ ~~~~~~ + CategoryInfo : ObjectNotFound: (C:\s:String) [Get-ChildItem], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand-------------------------------------------------------------------------------------------------------------I am just following the syntax fr

Continue reading...
 
Back
Top