Cmd Questions
Ad
Ad
OctoberCMS useful CLI commands
Artisan can help you to fire any OctoberCMS command on the command line easily. It will be handy for power users and OctoberCMS developers.
Why does sys.exit(4294967295) set %ERRORLEVEL% to -1?
Stumbled upon this when messing around with a batch script that invokes a python script. in the python script, i was calling
How to disable interruption with Ctrl+C in cmd/python
I have a program that has quite a few functions, each running on a separate thread. when the user presses ctrl+c, only 1 thread
how to add windows system path with python?
I want to add folder to the windows path with python. i tried add folder with this codes. path =
Composer already installed but when i want to create a new project using cmd in laravel below error found
C:\wamp\www\hotels>composer create -project --prefer -dist laravel hotel "5.8.*" [runtimeexception] invalid working directory
I am new and just installed Python3.7.4 on Windows 10 and tried to check pip -v in cmd but got this error. OSError: [Errno 9] Bad file descriptor[1]
I am using windows 10 and just installed python3.7.4 but when i run pip -v in cmd, it gives me an error oserror:
Node-cmd print Microsoft Word document
I'm trying to print a docx file with opening microsoft word in node.js. i'm using the node-cmd for cmd commands. i'm using
Opening a file using a specific program doesn't produce output
First of all, i am new to coding, and i have looked for similar questions and i know some commands which can be used in python and in cmd to open
How to connect to angular, nodejs http://localhost:4200 in google chrome
I am following the tutorial from https://angular.io/cli, but i am unable to connect
Reading laravel .env values in windows terminal and use them as credentials for mysql in a batch file
I created a .bat script to import several .csv in my db for a laravel project. at first, i was using python and each time it took an
AWS CLI list-domain-names/describe-domain returns empty even if there are domains present in the account
We have elasticsearch domain created in one of the aws account. we are trying to use aws cli command to "describe" this domain.
Ad
When is install imgaug.py i get this error
Here is an image about my problem.i'm totally stuck. https://ibb.co/hcx74jv
how to fix "django-admin not recognized"
I just formatted my os due some reason so installed python and django again. i tried to create the python project in the same environment as
How to save current cmd-output
Is there a way to get whats currently displayed on the windows command prompt? for example: print('some text') print('some
Running links to batch files from another batch file and use the shortcut layout properties
I have a set of 7 batch files i keep running all night at work, monitoring directories and files. i have shortcuts created and used the layout
Is there any way I can execute my node js and puppeteer program with an exe file?
This program works well on puppeteer when i use it on cmd. although, it is a lengthy process and also complicated for any non-technical person. i
how to use value from an rpyc client called from a progress script in that script
Trying to use rpyc server via progress script, and have the script do different tasks based on different values i'm trying to get from the
Powershell or CMD - I want to run two commands at the same time without waiting for the first command to finish
I would like to run two commands (it doesn't matter if it's in powershell or cmd). the commands are as follows. i try to run both at the same time
installing npm in Laravel in order to use Bootstrap in my project
I'm new to laravel and it's been a while that i'm trying to install bootstrap files(css and js) . i first did this in cmd :
How do I use youtube-dl's --add-header option?
I'm trying to add a custom header using youtube-dl, a popular video downloader with command line interface. i'm using powershell (or cmd)
custom CMD command for running python script with input parameter
I want to create a custom cmd command that will open a python script and also have a input parameter. example: c:\users\myname> create
Node.js app in Heroku crashes when I close the cmd
I'm running a node.js app using heroku. from my git repository folder, i'm doing: heroku run node main.js. it all
Ad
NodeJS output doesn't display Strings correctly in Windows "cmd"
My nodejs console.log() function no longer displays strings correctly in window's cmd. they render as black text with a black background. i don't
Environment variable ANDROID HOME not defined [Windows 10][Can't find SDK in installation folder]
So, i tried setting the android_home through the environment variables but for some reason i can't find android-sdk while browsing through my
How to capture Python interpreter's and/or CMD.EXE's output from a Python script?
is it possible to capture python interpreter's output from a python script? is it possible to capture windows cmd's output from a
How can I copy an image file in node/electron and be able to paste it as a file to another directory in windows?
I have built an image viewing app using electron js for windows 10. i am able to add viewed images to the clipboard using clipboard.writeimage.
windows environment variables not being returned in node.js
I have set the environment variable for windows as follows: setx port 8080 /m #prints out the expected output echo %port%
How do I pass command line switches with double quotes to Process.run()?
So i have this function, which i use to launch urls in brave browser. i would like to be able to use the --profile-directory switch to launch my
How can I change between versions of python 3
I am trying to use tensorflow but my python is to recent. i have python3.7.2 and i need py3.6 in order to install and use tensorflow. i
How to add the debug signing certificate and get (SHA-1) from command propmt
When i open command prompt it look like this so when i write the command of
Is it possible to run Java program from command line without compiling?
I have a set of instructions to create a java application that takes multiple arguments when running the application from a cmd line. the
installing packages with pip returns error
A while ago i downloaded pip from
How to run a python script from a text file context menu and compare it to other text files?
I wrote a python script that takes two files as input and then saves the difference between them as output in another file. i bound it to
Ad
How to activate an Anaconda environment from the command line?
I'm trying to access a module which is installed in a virtual environment, but the problem i've run into is that i can't activate my environment
Node.js command-line variable not recognized
I'm currently following a node.js course on skillshare, which works with a config file to determine what port a http or https server should run
Chain node & java commands in Docker CMD
I am trying to execute the following in my container: cmd ["java", "-version", "&&", "node", "index.js"]
npm notice created a lockfile as package-lock.json
I'm trying to install laravel echo using the command line npm install --save laravel-echo pusher-js someone suggested me to
"." Is not a command or a bat When trying to serve project
So im currently building/working on a project on my win 10 machine, with nodejs but im running into a problem when running it. it says the
Start and restart python programs in two cmd windows
I have two python scripts that constantly pull information from the web. i want to run them in two different cmd windows because i like to see
Different file size between powershell and cmd
I am using a little processconf.js tool to build a configuration.json file from multiple .json files.
Merge and compile SCSS files recursively using shell script in Windows
So here's the situation. i currently have project with the following folder structure: -- public_html -- assets -- scss
How to Run .py file from Windows Command Prompt?
I am trying to run the file created for selenium using command prompt but i am unable to figure out what is the problem as i followed some of the
Why error message "(" is missing whereas it isn't true?
I don't understand why ( is missing? if not exist ("c:\test") md "c:\test" at line:1 char:3 + if
Create a combined text file showing the date modified of each individual text file
I have a few hundred text files in a folder. i want to combine all the files and form one file, archive1.txt: i want to
Ad
Renaming multiple files in cmd (windows) or with Python
I'm trying to rename a list of 470 files with the name p01, p02 etc to a specific name for each file.
Store filtered output of cmd command in a variable
I am trying to store the output of a cmd command as a variable in python. to achieve this i am using os.system() but
Command line from cmd not parsed correctly
I'm using cmd.exe on windows7 to execute a python script via this line : > csv_cleaner.py ../test.csv ../oui.csv
Run PHP script in Node.js (or CMD)?
Due to some reasons in need to run a small part of my nodejs project in php7. i know i can make an internal api
FileNotFoundError: [Errno 2] No such file or directory: 'tf_files/retrained_graph.pb'
I am trying use tensorflow for poets 2 with windows 10 and anaconda prompt. after i retrained my images i wanted to test them by writing this
When running command "python train.py" to train word-rnn, getting "no module named numpy" error.
Os: windows 10 using anaconda3 - 5.2, running commands in anaconda command prompt. here's the commands i used to locate the word-rnn and
What is the reason for nodemon working in cmd but not in a batch file?
I am in the process of making a discord bot. all of the code that i have written for the bot works except for the batch file that is supposed to
Angular - TypeError: Cannot read property 'write' of undefined
I'm working on a club project and we are using angular for our platform, i'm just doing front-end homepage stuff, so technically i just use the
How can I add multiple parameters to message.content?
Need some help with my code. i started coding my first discord bot today using node.js and the discord.js library, and others soon. i am currently
os.subproccess how to avoid closing process after closing cmd
I prepared .py script, which i run from command line. ('python test.py') the last task of my script is to launch external application. i use below
Error " Could not find a version that satisfies the requirement PIL" when using pip install
When trying to install pil i keep getting the error "could not find a version that satisfies the requirement pil (from versions: ) no matching
Ad
Adding Git branch to Command Prompt
When looking for an alternative for the cool feature in iterm(mac) which shows the branch we are on:
Load all classes in all JARs to classpath
I have a folder libs that contains several jars, and i have an application (let's say mytest.jar) that uses some classes
Script that outputs all DLLs used by exe
In cmd the line tasklist /m /fi "imagename eq xxxxx.exe" > output.txt will output the dlls used by all
Weird error with windows cmd using git after using git diff
This is the first time i've ever encountered this bug, when i'm using cmd or gitbash on windows and i use the command git diff then
Errno 13 Permission denied 'C:\\Program files\\Python310\\CS project.py'
I am unable to understand what the problem is, some parts of the code are working but some parts were not so to check it i intentionally put
Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish
I started following this tutorial about flutter, and i followed each
jcmd - Handle custom commands in running JVM
The jcmd utility offers multiple diagnostic commands:
Command: git hist ERROR. fatal: option '--graph' must come before non-option arguments
I am trying to run git hist cmd on gitbash, windows but i am getting the following error fatal: option '--graph' must come before
How to perform a ping-test programmatically on Windows?
I'd like to make an ip-test in a c command line program on windows . now i'm using the cmd-command in my program with
Simple Windows Program runs in Linux Terminal but not in Windows cmd
I tried to see what is happening to this code "under the hood" using gdb. at the moment my gdb works in only in linux terminal and, as
Change meta-data on selected files in S3
I found a bunch of image files that has the wrong extension. due to the way the website is made, they must have a .jpg extension. but
Ad
CMD Batch file with FOR loop closes instantly despite having PAUSE command
I have this batch file (gitrepoupdate.bat) for running git pull command with for loop in the gitdev directory using
Move file to folder
I need some help with moving a file. i'm trying to create a batch file that will resize images and overwrite the file smaller sized
How to run cmd's goto command (or other) with bat-file from vbscript?
I would like to run file.bat with parameters through a vbscript like this:
URL could not be accessed: HTTP/1.1 400 Bad URI
I want to create a new laravel project via composer and i have got this error [composer\downloader\transportexception] the
How to use '&' as an argument in windows commandline
I've written a nodejs package that allows you to make http(s) requests from the windows terminal, so you type in something like http get
Inno Setup runhidden flag is not working for console application executed from batch file
I'm using inno setup to make installer for my django webapp created using pyinstaller. since my application needs a command (command-line console
Rasa Escaping in Windows - Error in Documentation
I'm doing the tutorial from official rasa page
BIG Query command using BAT file
Echo give yearmonth "yyyymm" setlocal enabledelayedexpansion set /p yearmonth= set clientname[0]=abc set clientname[1]=def set
Activating conda environment from c# code (or what is the differences between manually opening cmd and opening it from c#?)
I want to run a gpu accelerated python script on windows using conda environment (dlwin36). i’m trying to activate dlwin36 and execute
FFmpeg Minimize memory usage or add timeout to youtube-dl
So i am using ffmpeg to download an m3u8 stream. for optimization, i tried running the ffmpeg directly instead of using youtube-dl with it. but
Batch file that can create folder and subfolder from 1 PDF title and Move it into subfolder
I have a reoccurring job that requires me to file pdfs with the names all structured "rmafile po#000001 sn#000002.pdf" and what i need is a way to
Ad
laravel routes folder missing after install using composer
Composer create-project --prefer-dist laravel/laravel laravel i use this code in my pc cmd to install laravel.
Using python under Windows-cmd
My college found this problem how to run this script correctly,without error message 'wrong synax found'? he used windows-cmd and type
Escapaing FINDSTR Characters
I have been unsucessful in escapaing a combination of letters within my findstr search query. my query contains a quote mark (") and a chvron
cmd defaults to F: drive
When i open cmd on my laptop it is defaulting to the f: drive. this is troubling me does anyone know how it got that way or how to get it back to
DIR but select specific parts of file names
I have the habit for years to use this very easy and convenient .bat file to create a simple txt file of all my files in
Sending String trough cmd pipe to exe file
I have an exe file, which i can run from cmd like this: echo text|majka.exe -f majka.w-lt //or... majka.exe -f majka.w-lt <
How can i close a certain process the user inputted?
I am programming a simple program that will close a process the the user inputs. for example i will write chrome , explorer , and then the program
batch - how can I close a batch file that was started from another batch file
I have a problem understanding how i can automatically close a batch file that was started from another batch file. my first batch file
how to solve PHP Fatal error: Out of memory, when I try this command "composer require laravel/ui" for auth file.?
I try memory_limit=-1 or 526m or 1000m, but showing same error repeated.please help me!!!! d:xampphtdocselevenmedia>composer require
How to assign a SSL Certificate to IIS7 Site from Command Prompt
Can you advise me whether it is possible or not to assign a ssl certificate to a website in iis7 using the appcmd application? i am
error: bad operand types for binary operator '=='
Just wanted to do a task in my book but i don't get why this is wrong.it should say that negative numbers aren't positive and positive aren0t
Ad
How to accept licenses with flutter doctor?
When running flutter doctor in the cmd it is indicated that android licenses need to be accepted by running the command flutter
Cmd Windows "python" command works, but "python3" doesn't although my python version is 3.6
So i have followed a couple of posts here such as
What are your favorite Powershell Cmdlets?
I just found /n softwares free powershell netcmdlets, and after playing with them i love the functionality they bring to the command line. so it
How to run a script which can determine whether cmd.exe or gnu mingw shell is running
I want to write a script which runs some git commands on windows 7 platform. the users have git tools installed or at least mingw - the
How to run Mysql 5.7 in cmd Windows
I want to run mysql in cmd without change dir to where the mysql.exe is. so what i need to do to run mysql like
SQLCMD - removing timestamp from date & formatting fields to 2 decimal places
I am using sqlcmd to export out a sql query from my server. one of the fields i am exporting is a date field - but when it is exported it
Cmd and Git bash have a different result when run a Python code
Platform: git bash mingw64, windows 7, 64 cmd when i run a python code from
migrating a specific table in laravel
Using command php artisan migrate migrates all the tables. but i have employees table that i migrated along with other tables. but it
Ad
Blog Categories
Ad