Skip to main content

All Questions

2 votes
1 answer
396 views

Node wont run from cmd unless the .exe extension is added

So this is a very weird one. Let me start by saying that things used to work fine. I installed Node a few days ago and once complete I opened a command prompt (On Windows 10), I entered node --version ...
Jacques Ramsden's user avatar
1 vote
0 answers
17 views

What does the start command actually do? [duplicate]

Suppose I want to launch a program from the cmd (or windows powershell). If i simply type the name of the executable of course nothing starts, as my shell does not know where to find the .exe that I ...
Noumeno's user avatar
  • 106
0 votes
1 answer
222 views

how to find out what shortcut is used for a application by start command in cmd windows? [duplicate]

How does application (any) make its shortcut for launch in installation? For example c:\>start calc will launch windows calculator, but I have no idea where is located the executable calc.exe and ...
Herdsman's user avatar
  • 371
0 votes
1 answer
281 views

Why clearing PATH in windows CMD prompt makes it close immediatly?

Consider these 2 versions of a cmd script. First Version (overrides PATH) set PATH=%USERPROFILE%.cargo\bin;%USERPROFILE%.rustup; %~d1 cd "%~p1" call cmd Second Version (add some path to ...
CoffeDeveloper's user avatar
1 vote
1 answer
1k views

Windows 10 command prompt is not recognizing any basic commands

I have read forums, but have not found anything useful about what to do, with someone suggesting it might be with my PATH variable, but I don't know how to fix that. Output of ipconfig: Output of ...
Philippe Fatouros's user avatar
2 votes
1 answer
433 views

How Does py Launch Python3 on Windows Command Prompt

Im trying to understand how python get's launched from the command prompt with the "py" syntax. From my understanding, an environment variable is created, allowing python.exe to be executed from the ...
Jack's user avatar
  • 21
1 vote
1 answer
5k views

How to add to SYSTEM "PATH" environment variable in windows 10 via cmd, not to user's one?

By using setx "%path%;c:\whateverFolder I just copy system path variable to users one, therefore duplicating it, and only after it the required folder is added. Is it possible to add it to SYSTEM path ...
ymdred16's user avatar
2 votes
0 answers
141 views

Windows 10 Environment Variables: why does variable replacement not work?

On Windows 10 Pro: I just downloaded and installed (i.e. unpacked) the latest Maven version into a directory in preparation of an upcoming development project. Then - as instructed - I defined me two ...
mmo's user avatar
  • 130
8 votes
1 answer
21k views

Enable-WindowsOptionalFeature is not recognized in Windows 10

When I try to run Enable-WindowsOptionalFeature windows throws ''Enable-WindowsOptionalFeature' is not recognized as an internal or external command, operable program or batch file.' I am running ...
andgate's user avatar
  • 99
0 votes
1 answer
2k views

pip command error during installation of requirements.txt

When I run the command py -2.7 -m pip install requirements.txt, I'm getting the error but I have already upgraded it but I'm still getting error in installing requirements.txt. When I use the ...
Rohit Potter's user avatar
1 vote
1 answer
2k views

Why some libraries are loaded only under administrator privileges?

On Windows, I have an executable that depends on some third-party libraries. If I try to run it under cmd, an error windows appear saying "program can't start because some_third_party_library.dll is ...
Manuel Jesus Rodriguez's user avatar
0 votes
0 answers
92 views

Windows: Remove file type from path completion

I've got an issue with my cmd environmental variables autocompletion (with TAB). For some reason, I'm getting suggestions for .dll .png and all other nonsense I don't care about. How do I exclude ...
Peter's user avatar
  • 101