command-prompt Questions

4

I'm experiencing this weird issue where my exit status always return 0 even when it didn't execute successfully. I want to output the exit status on my prompt with the following code: function st...
Shumate asked 20/6, 2013 at 14:31

5

Solved

What's the best way to declare and use a boolean variable in Batch files? This is what I'm doing now: set "condition=true" :: Some code that may change the condition if %condition% == true ( ::...
Hickson asked 22/2, 2016 at 2:29

4

I am wondering if it's possible to use the 'net user' command in Windows to pull up details on a user in a different domain? The domain is connected to us. For example, I can log in as that user in...
Sherrill asked 19/9, 2017 at 23:27

3

I just want to make a simple Notepad .bat file that would maximize a specific process window. Is that possible?
Ciliolate asked 7/2, 2013 at 20:36

8

Is is possible to display current git branch name in regular windows command prompt? Let's say on windows 7 or 10.
Donella asked 16/3, 2016 at 21:55

3

Solved

Is there any way to find a path in C# dynamically without executing "where" command prompt command? For example, if I want to find mspaint exe, I can type this in command prompt where mspaint a...
Kinky asked 5/3, 2014 at 22:27

3

I use windows 10 so I try to kill the port this command netstat -ano | findstr :8006 taskkill /PID 3984 /F but I didn't kill the process. But it comes ERROR: The process with PID 3984 could ...
Pardo asked 4/10, 2018 at 8:2

7

Solved

I don't know if this is the right place to ask this question, but I am going to ask it anyway. I have a frequent problem when I try to rename one of my folders; it says access is denied. I have fu...
Judaic asked 28/12, 2016 at 15:44

3

Solved

I am trying to access android emulator through the console. Initially I typed telnet localhost 5554,then I see: Next I typed auth auth_token, I got the following error: What is wrong here? ...
Cacique asked 14/6, 2016 at 12:53

4

In Windows 7, If I want to find some text in a file, I use the following command. findstr "find_this" trace.log this prints all lines that contains text "find_this". OK. But I need to print also...
Lactose asked 29/11, 2016 at 10:41

4

Solved

Newbie question, I recently changed my PS1 into this: RESET="\[\017\]" NORMAL="\[\033[0m\]" YELLOW="\[\033[0;33m\]" CYAN="\[\033[0;36m\]" export PS1="\[$RESET\]\u@\h:\[$CYAN\]\w\[$YELLOW\]\$(__gi...
Scherman asked 1/9, 2013 at 14:34

6

I am trying to work with Jupyter notebook on Windows 10 (64-bit). I downloaded Anaconda3 5.0.1. Now I should be able to open the jupyter notebook from the command prompt by typing jupyter notebook....

8

I want to run a React project in my Windows (as a virtual machine of my Mac). In a Command Prompt, after running yarn to install dependencies. I did yarn start. And it gave me 'HTTPS' is not recog...
Weather asked 24/2, 2020 at 10:48

3

Solved

I've dug myself into a deep rabbit hole trying to find out what the title says. If you're confused about what this question is, I'll give a more detailed explanation: Have you ever seen the VSCode ...
Aldehyde asked 13/8, 2020 at 7:26

6

Solved

I'm adding this question after spending an entire day wrestling with this incredibly frustrating feature of the Windows 10 command prompt which made me think there was something wrong with my conso...
Grunion asked 24/11, 2015 at 0:46

10

I'm wanting to learn machine learning, but it requires that I use 'pip.' I'm still very new to a lot of this stuff. I've installed Python 3.4 64-bit and get-py.py. When I run pip install sklearn I...
Gladiolus asked 28/5, 2017 at 20:49

27

Solved

I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error: 'git' is not recognized as an internal or external command, operabl...
Dextrad asked 20/12, 2010 at 19:13

5

I am trying to use a BATCH file as a choose your own adventure story in which the user can create a character and be called by name and such by the characters in the story. It hit me an hour back t...
Iyar asked 21/3, 2013 at 15:16

24

Solved

This seems pretty simple and maybe I'm just overlooking the proper flag, but how would I, in one command, copy a file from one directory to another and rename it in the destination directory? Here'...
Turgid asked 10/6, 2010 at 20:36

28

New to MongoDB. I'm following this tutorial, and I get the above error when trying to follow Step 2. I'm putting the command into a Windows Command Prompt, and I've set my directory to the location...
Sensory asked 25/6, 2015 at 16:18

3

Solved

Is there a way to run two different node versions using nvm-windows in parallel?
Defensible asked 27/4, 2017 at 13:39

18

Solved

I have jenkins.war and I started it from command prompt in Windows as: java -jar jenkins.war It was started well and easily browsed as http://localhost:8080 I want to start on 9090 port. How ca...
Miseno asked 7/3, 2013 at 7:18

10

Solved

I have downloaded "jenkins-1.501.zip" from http://jenkins-ci.org/content/thank-you-downloading-windows-installer . I have extracted zip file and installed Jenkins on Windows 7 successfully. Jenki...
Chingchinghai asked 14/2, 2013 at 6:51

19

Solved

I have three different versions of Visual Studio installed on my machine, Visual Studio 2003, Visual Studio 2008, and VS2005. How do I start a particular version of Visual Studio using a command pr...
Assailant asked 10/6, 2009 at 3:27

24

Solved

I have added notepad++.exe to my Path in environment variables. Now in command prompt, notepad++.exe filename.txt opens the filename.txt. But I want to do just np filename.txt to open the file. I t...
Disapprobation asked 11/12, 2013 at 22:11

© 2022 - 2024 — McMap. All rights reserved.