Illegal characters in path in -File parameter in powershell -
hallo i've got question, trying execute command in cmd , i'm getting
copy-item : illegal characters in path.
basing on exception stack looks cmd having problem prj - www part. command looks this
powershell.exe -executionpolicy remotesigned -file ..\utils\deploy.ps1 "\\192.168.1.2\c$\program files (x86)\prj\prj - www\"
interesting thing when launch using powershell using
..\utils\deploy.ps1 "\\192.168.1.2\c$\program files (x86)\prj\prj - www\"
it works no problem. ideas?
Comments
Post a Comment