diff --git a/second-edition/src/ch01-02-hello-world.md b/second-edition/src/ch01-02-hello-world.md index 035aedbfd..e66621524 100644 --- a/second-edition/src/ch01-02-hello-world.md +++ b/second-edition/src/ch01-02-hello-world.md @@ -26,7 +26,7 @@ $ mkdir hello_world $ cd hello_world ``` -Windows: +Windows CMD: ```cmd > mkdir %USERPROFILE%\projects @@ -35,6 +35,15 @@ Windows: > cd hello_world ``` +Windows PowerShell: + +```powershell +> mkdir $env:USERPROFILE\projects +> cd $env:USERPROFILE\projects +> mkdir hello_world +> cd hello_world +``` + ### Writing and Running a Rust Program Next, make a new source file and call it *main.rs*. Rust files always end with