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

R

RickRagan001

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...
 

Similar threads

A
Replies
0
Views
392
arjun17
A
S
Replies
0
Views
540
suhail1041
S
C
Replies
0
Views
256
chloeLG
C
H
Replies
0
Views
1K
Harishankar Sajeevan
H
Back
Top Bottom