command-prompt Questions

4

Solved

I am trying to run the command CP at the command prompt on Windows 7 but I'm getting: 'cp' is not recognized as an internal or external command, operable program or batch file. Do I need to ...
Vasileior asked 12/2, 2014 at 16:54

4

Solved

There are some windows services hosted whose display name starts with a common name (here NATION). For example: NATION-CITY NATION-STATE NATION-Village Is there some command to get all t...
Polyethylene asked 14/12, 2012 at 12:41

2

Solved

When we run the following command in PowerShell: get-date | sc C:\temp\date.log it creates date.log file with current date. But if we run the same via CMD: powershell get-date | sc C:\temp\dat...
Cofield asked 27/12, 2013 at 13:56

2

Solved

Using Git Bash or MinGW Shell, if I put in a command with much output, for example env, I cannot mouse scroll. A regular old Command Prompt (cmd.exe) window will do this however.
Amery asked 6/2, 2012 at 5:23

1

Solved

Using Windows Command Prompt or Windows PowerShell, how can I output all the file names in a single directory to a text file, without the file extension? In Command Prompt, I was using: dir /b >...
Misogamy asked 26/2, 2022 at 22:5

2

Solved

In my programs I frequently have file names and/or paths that are configured in my app.config file. This will usually be something like: <add key="LogFileDirectory" value="C:\Logs" /> <ad...
Broyles asked 11/5, 2015 at 21:13

5

Solved

I need some help in writing a batch file. I have a path stored in a variable root as follows: set root=D:\Work\Root Then I am changing my working directory to this root as follows: cd %root% ...
Qianaqibla asked 28/2, 2011 at 5:24

28

Solved

How can I remove the current process/application which is already assigned to a port? For example: localhost:8080
Continental asked 22/9, 2016 at 7:19

1

Solved

I have an electron repo (https://github.com/MartinBarker/RenderTune) which used to work on windows 10 fine when ran with command prompt. After a couple months I come back on a new fresh windows 10 ...
Drumfire asked 7/12, 2021 at 23:1

8

I have a windows 8.1 machine and I want to open a program with minimized window. For a program like notepad, I just use the following command: start /min "" "C:\Windows\notepad.exe" and then a ...
Passionless asked 14/4, 2014 at 10:12

2

Solved

I am running Windows 8, and I'm using cygwin to compile my code. I'm trying to run command line commands using the system() command. This seems like it should be simple, but amazingly I couldn;t tu...
Ranite asked 14/9, 2014 at 6:47

10

Solved

I recently installed Python 3.6.3 on my device. When I type python in my cmd window, it gives me this error. I do have the PATH in the environment variables. Path Lists. This should normally ...
Overawe asked 28/11, 2017 at 19:13

2

Currently Windows 8.1 has users jumping through hoops to reach the settings that manage bluetooth connectivity (Charms->Settings->Change PC Settings->PC and Devices->Bluetooth->On/Off). I was wonde...
Missionary asked 28/11, 2014 at 5:57

1

Solved

I created a virtual environment in python, now while activating the same from my command line in vscode I am getting the error PS C:\Users\hpoddar\Desktop\WebDev\ReactComplete\DjangoReact\Art...

2

Solved

I have a Powershell script that needs to execute a command-line executable that prompts for user input (for which there is no command-line parameter). Something like this: # promptsForInput.ps1 $s...
Gard asked 19/10, 2017 at 20:51

5

Solved

I am trying to execute the following line in Command Prompt: curl -X POST -d '{ "method" : "account_info", "params" : [ { "account" : "rHb9CJAWyB4rj91VR...
Sphere asked 10/7, 2013 at 1:8

3

Solved

For some reason I do not know, my echo %path% has many duplicates of C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\. As far as I know, long %pat...
Mellissamellitz asked 7/9, 2016 at 10:30

16

Solved

Here is my current PS1: export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' How can I display the current branch in a different color?
Gnat asked 9/11, 2010 at 13:1

2

Solved

I am following https://docs.docker.com/get-started/06_bind_mounts/#start-a-dev-mode-container on a Windows PC and am stuck here: Run the following command. We’ll explain what’s going on afterwards...
Aircraftman asked 15/8, 2021 at 17:21

5

I'm trying to list out file names excluding their extension, How I want it: File1 File2 File3 How it currently is: File1.txt File2.txt File3.txt I tried using @echo off dir /A:-D /B pause but it...
Rhettrhetta asked 2/3, 2019 at 21:5

7

Solved

While running a batch file, I get the below error: nuget is not a recognized as an internal or external command It's not working from command prompt. Have a look at the below screenshot.
Gadwall asked 10/8, 2017 at 10:9

2

Solved

I am using this batch command to save ping output to a text file, ping 10.226.2.10 -n 10 >>ping_ip.txt But when i saved the above command in a batch file and trying to run it, in command pr...
Henceforward asked 25/10, 2016 at 6:30

3

I'm using the answer given here: How do zsh ansi colour codes work? to format and add color to my zsh prompt. Is there any way to format the prompt based on some conditions? For example, if...
Transit asked 6/11, 2013 at 19:1

3

Solved

Recently, i downloaded brew and npm to my reinstalled macOS, and now i noticed, when i write "su" command and write my password, i am getting this: su.png My problem is, I want to get old su prom...
Jared asked 24/2, 2018 at 13:29

14

How can I get the mysql installation path up to bin folder using command prompt in windows.Is there any command to get the location of mysql installation path?
Ketron asked 11/2, 2013 at 3:43

© 2022 - 2024 — McMap. All rights reserved.