I have an Azure web project that configured a launch task in ServiceDefinition.csdef.
<Startup>
<Task commandLine="Task.cmd" executionContext="elevated" taskType="simple" />
</Startup>
In Task.cmd, I have code that needs a web project path. Something like that:
InstallService.exe /webpath="%cd%"
but the directory in the launch job is different from the real production path. (E: \ approot vs E: \ siteroot \ 0).
Is there a way to get the production path in my Task.cmd?
thank
source
share