OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Az.cmd closes immediately

  • Thread starter Thread starter Kirsten
  • Start date Start date
K

Kirsten

Guest
When I Run az.cmd on my windows 10 screen some information flashes by and the screen closes. When I right click the shortcut and choose Edit I see

:: :: Microsoft Azure CLI - Windows Installer - Author file components script :: Copyright (C) Microsoft Corporation. All Rights Reserved. ::

@IF EXIST "%~dp0..\python.exe" ( SET AZ_INSTALLER=MSI
"%~dp0..\python.exe" -IBm azure.cli %* ) ELSE ( echo Failed to load python executable. exit /b 1 )

I reinstalled python and rebooted but this did not help.

I managed to capture this as it flashed by Screen capture
<p>When I Run az.cmd on my windows 10 screen some information flashes by and the screen closes.
When I right click the shortcut and choose Edit I see</p>
<blockquote>
<p>:: :: Microsoft Azure CLI - Windows Installer - Author file components
script :: Copyright (C) Microsoft Corporation. All Rights Reserved. ::</p>
<p>@IF EXIST "%~dp0..\python.exe" ( SET AZ_INSTALLER=MSI<br />
"%~dp0..\python.exe" -IBm azure.cli %* ) ELSE ( echo Failed to load
python executable. exit /b 1 )</p>
</blockquote>
<p>I reinstalled python and rebooted but this did not help.</p>
<p>I managed to capture this as it flashed by
<a href="https://i.sstatic.net/BHUVWbuz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BHUVWbuz.png" alt="Screen capture" /></a></p>
 

Latest posts

ن
Replies
0
Views
1
نعمان منذر محمود الجميلي
ن
S
Replies
0
Views
1
Sikandra
S
Top