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

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?

Related

volatility3 not recogniced in Windows10

I don't know what I'm doing wrong but volatility3.0 doesn't work on Windows 10. I get this error:
C:\Users\volatility3>volatility -f DESKTOP-8TLA34A.vmem imageinfo
'volatility' is not recognized as an internal or external command,
operable program or batch file.

trying to run an execsync on a command but keeps getting ... is not recognized as an internal

i am trying to run a postgresql dump from execsync command but I keep getting the following error:
Command failed: pg_dump --no-owner --file=d:\\Dev\\...\\..\\..\\...\\...bak postgres://Username:password#serverlocation:portnumber//DB name
'pg_dump' is not recognized as an internal or external command,
operable program or batch file.
I have no spaces in the folder structure.
running the same exact command in cmd works fine (I am using a windows machine).
This is the command I am trying to run:
const command = 'pg_dump --no-owner --file=d:\\Dev\\...\\..\\..\\...\\...bak postgres://Username:password#serverlocation:portnumber//DB name'
let result = execSync(command)
Your help is highly appreciated.
The issue was resolved by restarting the machine.

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

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.

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.

Command line in Windows and Node.js

I just installed node.js and try to execute my first "Hellow world" on it based on React.js
I moved step by step according to this article: https://www.kirupa.com/react/setting_up_react_environment.htm
All were fine untill I try to execute application through windows command line by command ./node_modules/.bin/webpack. The result is error: '.' is not recognized as an internal or external command,
operable program or batch file.
How to solve this issue?
Windows uses \ as the path separator. Just do .\node_modules\.bin\webpack

Resources