$path_root = split-path -Path $PSScriptRoot -Parent $path_build = join-path $path_root 'build' $path_part_1 = join-path $path_root 'part_1' $path_scripts = join-path $path_root 'scripts' $path_toolchain = join-path $path_root 'toolchain' if ((test-path $path_build) -eq $false) { new-item -itemtype directory -path $path_build }