When I was making the following directory in powershell I got an error. The directory which I was trying to make ia this-
mkdir bin NAME tests docs
The error which I got was-
*A positional parameter parameter cannot be found that holds the argument ‘NAME’ *
joe
October 12, 2019, 3:43pm
#2
mkdir is the mac/Linux syntax. I’m not sure what the powershell syntax exactly but, from what the book, it looks to be some form of “new-item” instead of “mkdir”.
Thanks for help. Now it’s working
zedshaw
October 20, 2019, 5:27am
#5
You can use mkdir in powershell, but you have to use commas (for some reason this is only on some powershell installs?) Here’s me doing that:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Zed> mkdir test1,test2,test3
Directory: C:\Users\Zed
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 10/20/2019 12:27 PM test1
d----- 10/20/2019 12:27 PM test2
d----- 10/20/2019 12:27 PM test3
PS C:\Users\Zed> rmdir test1,test2,test3
PS C:\Users\Zed>
Thank you sir for your help. Now I understood.