Via VS 2017 calling Setup.cmd
which contains:
@echo off
chcp 65001
powershell -ExecutionPolicy Unrestricted .\setup.ps1 "%*"
The file is called, and this error appear:
Active code page: 65001 .\setup.ps1 : The term '.\setup.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + .\setup.ps1 -SkipDbInstall:0 -SkipPandoSupportInstall:0 -SkipSearchServiceInstal ... + ~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (.\setup.ps1:String) [], Command NotFoundException + FullyQualifiedErrorId : CommandNotFoundException
setup.ps1
exist in the same level like setup.cmd
.
What can be the problem?