cmd does not recognize any commands [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm on Windows 10, the cmd does not recognize any commands.
It return always:
"the name of the commande" is not recognized as an internal or external command, an executable program, or a batch file
after Google search, I found that I should modifiy the Path in Environment Variables to add this line bellow, but it does not resolve the problem:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
Someone please can tell me how can I resolve this problem?
Thank you

ls is NOT a standard Windows command! DIR is the Windows equivalent to ls.
To see a list of Windows supported command, enter help. The example output:
>help
For more information on a specific command, type HELP command-name.
ASSOC Displays or modifies file extension associations.
...

Related

Is there a way to see what command are run on your computer? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I was wondering how I could see the actions that are done on my computer but on my cmd prompt.
For example: Imagine I click on the shortcut Google Chrome on my desktop, then this will appear on my cmd prompt (or anywhere else):
C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe
modulo the - and -- arguments but that was just for the example.
Thanks!
Try Process Monitor (also called ProcMon), filtered on ProcessCreate. It'll list every process that gets created, along with the arguments and lots of other useful information.

How to use program name with out specific path in .cmd file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
When I usually type following command in command prompt,
pageant "C:\Users\test\.ssh\id_rsa.ppk"
It have worked well.
But on the other hands,when I make test.cmd file like
pageant "C:\Users\test\.ssh\id_rsa.ppk"
And then double click, it didn't work
buttest.cmd in following script
"C:\Program Files\PuTTY\pageant.exe" "C:\Users\test\.ssh\id_rsa.ppk"
work well.
What is the different between them ?
I guess The path was recognized by cmd.
If someone has opinion, please let me know
If the command doesn't contain an absolute path and isn't an internal command then cmd.exe will find the executable in the current folder and then look in the folders in the %PATH% environment variable. It looks like the current folder in your cmd is C:\Program Files\PuTTY so pageant can be found and execute normally. If you cd to a different folder then it won't work unless the folder exists in %PATH%

MacOS -bash:Command not found [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
when I try to use the command d2r-server.bat kg_demo_movie_mapping.ttl in the terminal, the command not found.
And I tried to modify the .bash_profile as follow :
it's still not working.
Is there anyway to fix this?
The picture of bat file, and the terminal :
Batch files are for Windows use. In a bash shell you'll need a bash script. Bash scripts can be identified by a shebang line at the top of the script, e.g.:
#!/bin/bash
In the specific case of the d2rq package there are scripts included. Look through the files in your downloaded package and you'll find the bash scripts share the same basename without the .bat extension of the windows batch files.

How to list files in windows using command prompt (cmd). I've tried using ' ls ' as in Linux but it shows an error? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
When I tried to use list ls on a Windows command prompt, the system doesn't recognize it. I already added C:\Windows\System32 in the path.
Use the command dir to list all the directories and files in a directory; ls is a unix command.

How can I get a list of all windows recognized executable extensions in cmd? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want to get a list of all the file extensions that a windows machine will recognize as an executable.
I tried the following in command prompt:
echo %PATHEXT%
But all I got from that is:
.COM;.EXE;.BAT;.VBS;.VBE;.JS;.WSF;.WSH;.MSC
Which is not a complete list. It's missing things like:
.SCR;.REG;.VB;.VBSCRIPT
and so on.
If the extension is not in %PATHEXT%, then there is no association. If you just type the.vbs at the command line, you will be informed of same.
If you type cscript the.vbs, then the script will run; assuming cscript.exe is somewhere in the PATH variable.
In short, files such as .SCR;.REG;.VB;.VBSCRIPT are not actually executable. It is the association that is used to know which executable can run them.

Resources