command-prompt Questions

3

Solved

I am trying to add and retrieve credentials from Windows Credential Manager using a command prompt. To add a new credential, I have the command like below and it works perfectly: cmdkey /add:test...

4

Solved

I know "textcolor();" is for C++ and i've seen methods for unix... but is there way for windows also? #include <stdio.h> int main() { printf("\ntest - C programming text color!"); printf("...
Clamworm asked 8/2, 2012 at 23:45

21

Solved

When I am starting rails server using rails s command it is showing A server is already running. Check C:/Sites/folder/Pids/Server.pids When I open the file it is outputting a 4 digit number only ...

12

i am currently having problem with 'meteor' and i am currently new to this learning this stuff. So, after installing 'Meteor' i opened command prompt on Windows and typed : meteor create goodboy ...
Aminopyrine asked 17/10, 2015 at 16:11

9

Is there a way to extract/copy the fist X number of lines from a file and input them into another file with a single command using the windows command prompt? I can delete the first X number of li...
Wivina asked 13/1, 2015 at 22:32

6

Solved

I would like to obtain by a command prompt a list of all USB devices connected to my computer (O.S. Windows 10). I've googled to find such a command, but all results seems useless to me or worse wo...
Barger asked 8/6, 2017 at 10:33

3

What I have tried I have updated my prompt to include the branch name using __git_ps1. In addition, I set GIT_PS1_SHOWCOLORHINTS. The problem The prompt appears correctly. However, the branch co...
Gaiseric asked 13/1, 2014 at 22:16

4

Solved

Today I was in the Windows Command Prompt after doing a git clone https://...MySolution.git and wanted to open the .sln (i.e., solution file) from the new directory of the cloned repo. What is th...
Cesena asked 20/6, 2017 at 17:12

4

I have installed Oracle soa suite quickstart 12c (12.2.1.4.0) in windows 7. The java version i'm using is jdk1.8.0_241. After creating a standalone domain, when i tried to start the weblogic server...

3

Solved

I am a Mac guy who is used to Mac's Terminal. Now I am using Windows. Whats the diff between those CLI options? When should I use one over the other? Are there more CLI options that I should con...
Baud asked 29/5, 2019 at 13:49

3

I am new to the command prompt want to know how all the command works … I want to know how to apply pipe and filter in cmd to go through the directory and print only those files/folders th...
Baiss asked 24/3, 2013 at 14:7

3

Renaming files in Windows explorer is easy but when you need to rename many files it can become quite tedious. A command prompt (terminal) makes it easier.
Unthrone asked 13/8, 2020 at 13:46

3

Solved

Creating a new React app in E:\rn-starter\my-app. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template... 'sh' is not recogniz...
Dowse asked 23/11, 2020 at 16:59

9

Solved

I'm running Ansible playbook and it works fine on one machine. On a new machine when I try for the first time, I get the following error. 17:04:34 PLAY [appservers] *****************************...
Farron asked 13/5, 2015 at 22:15

6

Solved

How do you change the default Virtualenvwrapper prompt? By default, working on a particular virtual environment with a command like workon <_name_of_env_> prepends the name of the virtualenv ...
Semiotics asked 2/5, 2012 at 2:24

7

Solved

I am using Windows 7 64bit Here is the code snippet I am using to start @echo off call "C:\Program Files (x86)\LOLReplay\LOLRecorder.exe" call "G:\League of Legends\lol.launcher.exe" exit But u...

12

Solved

Basically I'm after this but for PowerShell instead of bash. I use git on windows through PowerShell. If possible, I'd like my current branch name to displayed as part of the command prompt.
Peg asked 17/8, 2009 at 12:35

4

Solved

I am trying to get a batch file to work. Whenever I attempt to run a .bat the command line returns '■m' is not recognized... error, where "m" is the first letter of the file. For example: md c:\t...

4

Solved

I would like to shorten my PowerShell prompt so that it just shows the parent directory and the current directory. For example, if the pwd is C:\Users\ndunn\OneDrive\Documents\Webucator\ClassFiles...
Lactoflavin asked 26/10, 2019 at 20:18

23

Solved

Help! I have no idea what is going on here, create react app is not working I have also tried reinstalling and yet to no avail, please help! Npm version: 5.4.2 Node version: 8.70 Tried the npm ...
Dreadnought asked 16/12, 2017 at 6:8

18

Is there a way to examine the status of a specific port from the Windows command line? I know I can use netstat to examine all ports but netstat is slow and looking at a specific port probably isn'...
Sacristy asked 17/8, 2012 at 17:45

8

Solved

I want to zip a directory using the batch file command (Windows XP batch file). For example, if I want to unzip a file means I can use the jar -xf file.zip(java) bat file command. Like that I want ...
Par asked 12/8, 2013 at 5:27

10

Solved

In my localhost, running below command PORT=4080 node server.js But, it was throwing an unexpected error. 'PORT' is not recognized as an internal or external command, operable program or bat...
Gunboat asked 14/12, 2017 at 5:47

11

Solved

Any way of doing this through the command prompt without using any third party software or relying on powershell? A simple command would be great like on Linux/Mac which I use curl http://ipinfo.i...
Chairwoman asked 3/10, 2016 at 17:9

4

Solved

I get an trash after the prompt when I flick through the history when I add colors to my prompt. I have tried the proposed color prompt command from the postgres doc: \set PROMPT1 '%[%033[1;33;40...
Amari asked 2/10, 2013 at 14:25

© 2022 - 2024 — McMap. All rights reserved.