How to Run .Bat File in Azure to install java and Gradle to build an dynamic Apk - azure

I want to run an Genrate.bat file that will set Java_home and install Gradle.wrapper. This is work in local machine but i want to do that in Azure to run that .bat file. I try the batch concept but its shows error, It cannot install.
error like Access denied, and gradlew not found
my genrate.bat file:
echo "Please wait..."
set JAVA_HOME="%cd%\Java\jdk-11"
setx -m JAVA_HOME "%cd%\Java\jdk-11"
gradlew assembleRelease
ERROR: Access to the registry path is denied.
'gradlew' is not recognized as an internal or external command,
operable program or batch file.
'gradlew' is not recognized as an internal or external command,
operable program or batch file.
Please suggest me if there is another way to run .bat in Azure.
Thank you.

Related

Gitlab-Runnable '.' is not recognized as an internal or external command, operable program or batch file

I'm trying to install GitLab-Runner. I installed it through the \gitlab-runner.exe command
and launched through the command:
.\gitlab-runner.exe start
but when i try to register GitLab-Runner via windows terminal ./gitlab-runner.exe register --url https://git.slygods.com/ --registration-token $REGISTRATION_TOKEN
i get the following error:
'.' is not recognized as an internal or external command,
operable program or batch file.
maybe I missed some step?
I'm trying to install GitLab-Runner. I installed it through the \gitlab-runner.exe command
and launched through the command:
.\gitlab-runner.exe start
but when i try to register GitLab-Runner via windows terminal ./gitlab-runner.exe register --url https://git.slygods.com/ --registration-token (MY TOKEN)
i get the following error:
'.' is not recognized as an internal or external command,
operable program or batch file.
maybe I missed some step?

'node' is not recognized as an internal or external command except I've already set my path

I am on a Windows 10 machine. I installed node from the node.js website. Node.js did not add the path to the path environment variable, and the node command didn't work in either powershell or the command prompt. Node.js installed at C:\Program Files\nodejs. I added this path to the path environment variable, and now it works in powershell but it fails when I try to run in in the command prompt.
When I try to use yarn create next-app --typescript in powershell, it says that 'node' is not recognized as an internal or external command,
operable program or batch file.

'npm-run-all' is not recognized as an internal or external command, operable program or batch file

#Command : npm run dist #Bootstrap Command #Error: 'npm-run-all' is not recognized as an internal or external command, operable program or batch file.
Installed Node.js along with chocolatey. Everything added to path. Running this code on VS CODE terminal in bootstrap extracted file directory.
First try "npm -v" and "node -v" in cmd. If they are present only then continue further. Else install them.
change the cd to bootstrap folder (Extracted zip file from bootstrap website) and Run the following command in your VS CODE terminal.
"npm i"
This helped me hope it helps you too :)

Issues launching Python Interactive in VS Code

I am trying to setup Visual Studio Code using Python Extension and Anaconda. My current environment is set to {'base':conda}. However, I keep getting the error given below:
Command failed: C:/Anaconda/Scripts/activate && conda activate base &&
echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python "c:/Users/Varun
Srivastava/.vscode/extensions/ms-python.python-2020.2.63072/pythonFiles/printEnvVariables.py"
Access is denied. Access is denied. The system cannot find the file
Srivastava\AppData\Local\Temp\conda-10598-3029.tmp. Could Not Find
C:\Users\Varun Srivastava\AppData\Local\Temp\conda-10598-3029.tmp
'"C:\Users\Varun"' is not recognized as an internal or external
command, operable program or batch file. Access is denied. 'conda' is
not recognized as an internal or external command, operable program or
batch file.
As far as I could gauge, there is an issue finding some .conda .tmp files, and this could be because there is a space in the directory name "C:\Users\Varun Srivastava\AppData\Local\Temp\conda-10598-3029.tmp" .
Any suggestions?
Specs:
Python 3.7.4 via Anaconda
VS Code 1.42.1

my project location is not recognized as an internal or an external command, operable program or batch file

I install node version 4.4.7 for Windows. I tired a sample project. while I run the project on installed nodes command prompts. I had the following error.
'E:\nodeexample\myproject' is not recognized as an internal or an external command, operable program or batch file
I tried setpath="c: /program files/nodejs" and some other answers suggestion here, but nothing helped me.

Resources