Questions tagged [command-prompt]

The command prompt is the string of text that a command-line interpreter displays to you, the user, to prompt you for input in interactive mode. For programs with textual user interfaces in general, not specifically addressing their prompts for user input, see either the CONSOLE-APPLICATION (Microsoft Windows) or TERMINAL (Unices, MacOS 10, and Linux) tags. See COMMAND-LINE or SuperUser for commands invoked by command lines at a command prompt.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

In Command Prompt, typing "python" outputs a python version that isn't included in the PATH variable, why? and how to overcome this?

In Command Prompt, I type python. I get an output that begins with: Python 3.8.4 [...]. I have never installed Python 3.8.4 manually. I open the PATH variable. The first path ends with: \Python\...
A.Bukhari's user avatar
0 votes
0 answers
12 views

Run command from non-elevated cmd as admin

We are having a large amount of devices with startup issues that could be resolved via startup repair. The issue is startup repair fails due to bitlocker (thanks microsoft). From windows ...
PortaaaaB's user avatar
-2 votes
0 answers
16 views

How to access commands on Git [closed]

I am unable to perform command in Git. I would be very grateful if I get the solution here. I tried using in the platform but I'm unable to get the proper module to perform this task. I'm expecting ...
Gaurika Bhatt's user avatar
-1 votes
1 answer
62 views

Fatal error in launcher: Unable to create process using '" [closed]

I was installing pip in my windows, and when I checked the version they gave me the result this C:\Users\misba>pip --version Fatal error in launcher: Unable to create process using '"C:\Users\...
Misbagas's user avatar
-1 votes
0 answers
42 views

failed to create process. when run websploit in command prompt [closed]

why when I run websploit i get messages like this failed to create process. so I start it with the type websploit and the result like this 'failed to create process.' this is my process for running ...
Misbagas's user avatar
1 vote
0 answers
83 views

My winget isn't working properly, how can I solve it?

I use my winget to install most of my programs, but it's not working properly. Any command I use, whether it's a simple list, doesn't load and I get the following screen: PS C:\Users\lucas> winget ...
Lucas Dias Noronha's user avatar
0 votes
1 answer
24 views

openai module not found -- Confusion on how to use pip and Idle vs Cmd Prompt

This is my first post but I've benefited greatly in the past from reading all of your questions and collective knowledge. I'm having trouble figuring out which program/interpreter to use Pip with to ...
Kurt Oconnor's user avatar
-1 votes
0 answers
26 views

curses.addstr not showing output to console

import curses from curses import wrapper def main(stdscr): stdscr.clear() stdscr.addstr("Hello!!!") stdscr.refresh() stdscr.getkey() wrapper(main) Well, i tried to run a ...
Sarowar Shouvo's user avatar
-1 votes
0 answers
20 views

Python file not emailing result success via Task Scheduler but emails result success via Command Prompt

I am trying to get a Task Scheduler job to execute a python script daily which does some tests and sends the results to me via email. In the Actions section I put into the Program/Script field: \...
William Trebes's user avatar
0 votes
1 answer
68 views

Jupyter notebook not open from command prompt

I am trying to work with Jupyter notebook on Windows 11 (64-bit). I downloaded Anaconda3 -2023.09-0. Now I should be able to open the jupyter notebook from the command prompt by typing jupyter ...
Dani1991's user avatar
0 votes
0 answers
12 views

How to clean data in terminal automatically?

I wrote a small piece of code that retrieves 24/7 stock market data. I run it in Command Prompt (Windows 11). I'm worried that if I keep running like that, one day, my computer's memory will be full. ...
Minh's user avatar
  • 3
-1 votes
0 answers
36 views

Checking CPU Temperature on Windows 10?

I was told on a website I could get CPU temperature by typing this in Command Prompt: "wmic /namespace:\root\cimv2 path win32_processor get loadpercentage" However, nothing happened... Here ...
Jof's user avatar
  • 1
-1 votes
0 answers
29 views

Echo Date and Time in YYYYMMDD HH-mm-ss in Windows Command Prompt [duplicate]

I have been trying to use the Windows Command Prompt to echo the date and time in this format: YYYYMMDD HH-mm-ss. The command I have so far is: echo %date:~-4,4%%date:~4,2%%date:~7,2% %time:~0,2%-%...
GTS Joe's user avatar
  • 3,722
0 votes
1 answer
36 views

I try to run my Python code in Command Prompt but it doesn't work

I just wrote a few lines of code to get data from Binance (I'm just using the Testnet API). My code runs fine on Jupyter Notebook. But when I try to run the code in Command Prompt (or Anaconda Prompt),...
Minh's user avatar
  • 3
-1 votes
0 answers
31 views

Trying to create mklink junction to sync my game save with my drive

I'm trying to create a mklink /J to connect my game save with my google drive, to never lose my saves ever again. But I'm struggling to create the right command.In the future I'm willing to do the ...
João Francisco Guarda's user avatar
0 votes
1 answer
39 views

pyinstaller not recognised, even though it is installed [duplicate]

I have pip installed pyinstaller, but when trying to build my file to an exe it says that it can't recognise pyinstaller in the command line. I am using command prompt on windows 11, for python 3 ...
pickanapple's user avatar
2 votes
1 answer
45 views

Separate input prompts from return values when calling Python script inside shell command substitution

I have a simple Python script that asks the user for an ID and returns a serial number: ... id = input("Enter ID (0-indexed):\n") ... print(serial_number) I'm using this .py script inside ...
dandan13's user avatar
  • 109
0 votes
0 answers
53 views

run batch file at startup with admin privilege

I have this code : mklink /D C:\Users\%USERNAME%\Desktop\PROJECTVOL\CLAYNET \\192.168.1.10\CLAYNET I want to mount my network drive (\192.168.1.10\CLAYNET) to my local folder. I'm using windows 11 so ...
andio's user avatar
  • 1,652
0 votes
0 answers
100 views

Python worker exited unexpectedly (crashed)

I am getting this error while running rdd.first(), after running rdd = sc.parallelize([1,2,3]) in command prompt. py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.api....
K Neelakanta's user avatar
0 votes
2 answers
53 views

Random ECHO is OFF error in a call function

engine.bat @echo off setlocal enabledelayedexpansion if %~1 == void goto :a1 :a1 if %~2 == 0 echo void0>void.bat if %~2 == 1 echo void1>void.bat goto a2 :a2 if %~1 == sm goto a3 :a3 set msg = %~...
renex himself's user avatar
0 votes
0 answers
26 views

Bitsadmin Doesn't Work with Some Websites (Windows 7 32-bit)

I'm using Windows 7 Ultimate (32-bit), and tried to download this photo: bitsadmin /transfer /download "https://www.techrepublic.com/wp-content/uploads/2020/09/powershell.jpg" c:\Users\...
Ab.K.F's user avatar
  • 1
0 votes
0 answers
21 views

How does 'dir' output files?

I would like to find out more on how 'dir' in command prompt works. I have a folder with a 365 files, one for each day of the year, and 'dir' spits out the files in order, except for 2023-01-12, which ...
Jonathan Yun's user avatar
0 votes
0 answers
14 views

Convert Ui to Py in pyqt6

I'm trying to convert my ui file to py in command prompt using this: python -m ./pyuic6 MainWindow.ui -o MainWindow.py It is coming back with this error code: Relative module names not supported
Slope10's user avatar
  • 35
0 votes
1 answer
47 views

mongodump : passing --query argument : error parsing command line options

I have a collection sampleColl. MongoDB Enterprise > db.sampleColl.find().limit(3); { "_id" : ObjectId("64f01e4f58e834c50cdf63c1"), "field" : "2ed2892b" } { &...
Noel's user avatar
  • 10.2k
0 votes
0 answers
68 views

How to disable multiple devices from Windows device manager at once using Command Prompt or Powershell?

First of all, I hope everyone is very well and healthy today and always. My question is about how to disable multiple devices from the Windows device manager at once using Command Prompt or Powershell....
Suporte.SoftehardSolutions's user avatar
0 votes
1 answer
56 views

Run sequence of commands in anaconda prompt from a batch file

I want to run a sequence of commands in anaconda prompt, namely: activate islp - to activate the library environment set up in Anaconda Navigator cd C:\Users\user\OneDrive\Desktop\Coding project - to ...
VBAEnthusiast's user avatar
1 vote
1 answer
71 views

cannot import name in a file?

Hello I am trying to run my django application but its saying: cannot import name 'd' from 'niu' (C:\Users\amber\Umaido\niu_init_.py) which is strange. I have created d in my code file: [ import ...
ayan kulber's user avatar
0 votes
0 answers
19 views

Run a file path with different user name

I'm coding a script that needs to load data from files, but my work computer and home computer have different user names: C:\Users\Work\Dropbox\data.csv C:\Users\Home\Dropbox\data.csv I set up a cover ...
OliverZZ's user avatar
0 votes
1 answer
76 views

MediaInfo (CLI) and Batch Files fail to work

I'm trying to learn how to use MediaInfo (CLI). In the process, I stumbled onto this thread that provided some promising value. MediaInfo CLI (Command Line Interface) Syntax Teaching Me Once & For ...
timetriad's user avatar
0 votes
0 answers
92 views

issue of installing chromadb library in python [duplicate]

I am trying to install chromadb library using pip but it is showing errors I also installed Microsoft visual studio build tools but I am not able to install it. It is showing error as error: command '...
Sai Thushar Bommagani's user avatar
0 votes
1 answer
201 views

command prompt can run batch file but cmd can NOT

i get a simple test.bat: @echo off echo hello world pause it can run in command prompt but can't run in cmd.exe. if i press Win+R and enter "cmd", i can get a cmd.exe, but it can not run ...
drdg8's user avatar
  • 1
1 vote
2 answers
61 views

python failed to run

I am having a problem with my python.It is showing python failed to run error (https://i.stack.imgur.com/0ZI7z.png) I tried to run simple python program in vscode, it is showing the error('python ...
Ailuri Srima's user avatar
3 votes
1 answer
68 views

How to get Deno prompt() to go over 255 characters

If you run a prompt("Paste JSON into here") in Deno, you can put a maximum of 255 characters. Is there a method to make it unlimited, or at least get a better reasonable limit without taking ...
BookOfCooks's user avatar
0 votes
0 answers
15 views

How to show a custom variable just like $HOME in command PROMPT in terminal

I am trying to change my command prompt to show the working directory But my working directory path gets very long. Lets say I have a variable MY_WORK_DIRECTORY point to a large path /Users/foo/work/...
Rima's user avatar
  • 199
0 votes
2 answers
68 views

Windows CMD Variable Not Set on First Run

I'm using this command on the Windows 10 Command Prompt to check if a folder exists and if it doesn't, create it. The weird thing is, it doesn't work the first time I enter it but the second, third, ...
GTS Joe's user avatar
  • 3,722
0 votes
0 answers
34 views

【FileNotFoundError】when opening executable of streamlit project (selenium included) made by cxfreeze

Project info I created a little project with streamlit app framework (main.py), also included some other packages (selenium, pandas, numpy). Wrapper script info In order to share it with my colleagues,...
HowardHsiao's user avatar
-1 votes
1 answer
32 views

Opening a file through child process in nodeJs is waiting for the file close to end the execution

I am opening a file through child process in nodeJs, which is working fine, but is waiting for the opened file to close to end the execution. I am new to javascript and nodeJs just wanted to know Is ...
abby's user avatar
  • 370
1 vote
0 answers
31 views

Command Prompt Gets Stuck Upon Running PyFirmata Function

I'm trying to run some Python to control a servo on my Arduino. About a week ago, I got it all working, and there were no issues. Now, when I run the same code (code below) my computer gets stuck in ...
Sir Narwhal's user avatar
3 votes
6 answers
2k views

How do I automatically have a command run from my Windows 10 command prompt when I log in?

I'm using Windows 10. When I first login, I launch a command window using cmd and then run a service using myserv -a I would like all this to happen automatically after I login. How do I configure ...
Dave's user avatar
  • 15.2k
-2 votes
1 answer
37 views

What to do when we facing difficulty with git command "git reset --hard HEAD^"?

I am getting difficulty at the (git reset --hard HEAD^) when I press enter it is showing like (More?) What to do? how can I delete that (love babbar and love eswar string is added) to get the HEAD to ...
Eswar sai Bendi's user avatar
0 votes
0 answers
312 views

How to make `python` run Python 3.11.4 instead of Python 2.7.15 in Command Prompt [duplicate]

I have Python 3.11.4 installed and at the very start of my PATH variable. I also have Python 2.7.15 installed because GIMP depends on it for extensions. I want to use Python 3 instead of Python 2 in ...
haley's user avatar
  • 869
0 votes
1 answer
163 views

Checking if ElasticSearch is running

I downloaded the last version of Elasticsearch and followed the guide provided by them in https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html But in the section "...
Diogo Miranda's user avatar
-1 votes
1 answer
48 views

.js runs in Visual Studio Terminal, but not from Command Prompt via Node

index.js contains console.log('hello World'); When I use node to run this in the terminal within visual studio code it works. (returns hello World) However when I attempt to run the file via node ...
Jesse Godbey's user avatar
0 votes
0 answers
9 views

Unable to open and access Command Prompt

I am trying to run the command prompt, but it is not opening. I even tried running it as an administrator and also from the folder. The error persists. What should I do? I wanted to add power plans: ...
BUTDRILL1's user avatar
0 votes
1 answer
31 views

Not able to activate virtual environment in cmd

I have installed virtual environment and also created one called 'Gulpit'. But I am not able to activate it using source Gulpit/bin/activate. Microsoft Windows [Version 10.0.22621.1992] (c) Microsoft ...
Sukriti Chawla's user avatar
0 votes
0 answers
24 views

Python Virtual Enviroment in Windows will not select the correct environment

We have created a virtual environment for Python in Windows 10 utilizing virtualenv tool loaded through pip. We created the new environment and activated it with activate.bat. Once activated, we ...
Vaslo's user avatar
  • 478
0 votes
1 answer
42 views

Batchfile to start/stop services returns all error codes

I want to make a batchfile to quickly start/stop certain services to conserve resources when they're not needed. The file I made does the job but when run it gives me all error codes that I told it to ...
Antoine N's user avatar
0 votes
1 answer
67 views

Convert cmd to powershell query

Please help: CMD command: “C:/abc.exe” “MyPC” /RFS “script.rfs” Please help me in converting this to powershell. I tried to read the documentation but couldn’t find anything useful. Any sort of help ...
user15096063's user avatar
-1 votes
1 answer
37 views

Rename multiple files in windows using cmd

I have multiple files named as OBBN_0810_EMPTY.txt OBBN_0810_FULL.txt OBBN_0810_SMALL.txt OBBN_0810_BIG.txt OBBN_0810_INK.txt I want to rename them like OBHL_8554_COLL.txt OBHL_8554_FULL.txt ...
Talib's user avatar
  • 37
0 votes
0 answers
158 views

You don't have write permissions for the /usr/share/rvm/gems/ruby-3.2.2 directory

When I run the following command: gem update --system, I receive the following error: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/share/...
David Foster's user avatar

1
2 3 4 5
85