I am newer to making batch files. I am trying to run a command that will open windows PowerShell in a specific directory, and then once there to run a command.
So far I have the following.
Powershell.exe -noexit -command "cd 'c:\Dev\ProductDev'" This seems to work in opening PowerShell to the right location, but I cannot get it to then run the command
I have tried the following with no success
PowerShell -NoExit -Command "Write-Host 'node sp'"
Also, is it possible to have it open Windows PowerShell in the blue display screen, rather than in the CMD (black/white) window?