I am new to angular 2 and I am trying to create a new project in E drive. I am using node.js command prompt for this.
When I just run ng new myapp , it automaticlaly creates project in c drive but I wan to create the same in E:drive under folder "angular4"
I am trying below but it is not working. could you please correct me
This path shows up when we open command prompt
C:\Users\User1>
and to create new project in E: drive under angular 4 , I write below which is not working
C:\Users\User1>cd\ E:Angular4 ng new myapp
First go to E drive then change the folder (cd Angular4) then run
ng new myapp
EDIT: Or you can concatenate the commands
E: & cd Angular4 & ng new myapp
EDIT: For Windows PowerShell, concatenate all these commands using the semicolon (;) operator, as:-
E:; cd Angular4; ng new myapp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With