commands wont work

nik.fokos

Great
Mar 20, 2018
17
0
60
0
\Autorun2.cmd is not recognized as an internal or external command. What should I do?
Is there any program that I should add on PATH?
 

hang-the-9

Titan
Moderator
Well that .cmd file has to be on the system, not sure why there is a \ there either. You need to check the path to that file. The path would be like C:\Folder\Folder\Autorun2.cmd If you have spaces or special character in the string you may need to use quotes to enclose it. From the error message, that is likely the issue, spaces or some other character that is not read properly.
 

nik.fokos

Great
Mar 20, 2018
17
0
60
0
OS: Windows 7 Home Premium SP1
When opening cmd normally:
-------------------------------------------------------------------------------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
'\Autorun2.cmd' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\User>
-------------------------------------------------------------------------------------------
I'm trying to run many python programs that use cmd and they can't due to this '\Autorun2.cmd' is not recognized as an internal or external command, operable program or batch file.
 

hang-the-9

Titan
Moderator
Well that .cmd file has to be on the system, not sure why there is a \ there either. You need to check the path to that file. The path would be like C:\Folder\Folder\Autorun2.cmd If you have spaces or special character in the string you may need to use quotes to enclose it. From the error message, that is likely the issue, spaces or some other character that is not read properly.
 
You should add path to Python' Bin folder to your environment settings. Right-click on "My Computer", Properties, Advanced System Properties, Advanced, Environment Variables. There, in bottom window, click on "PATH", and add to the end the folder where this Autoruin2.cmd is located in Python setup.

It is also possible that Python installation has created a Start menu entry doing just that.
 
Thread starter Similar threads Forum Replies Date
S Apps General Discussion 4
ccoo84 Apps General Discussion 2
G Apps General Discussion 0
R Apps General Discussion 1
C Apps General Discussion 3
H Apps General Discussion 6
A Apps General Discussion 1
A Apps General Discussion 11
A Apps General Discussion 7
T Apps General Discussion 5
M Apps General Discussion 1
R Apps General Discussion 1
C Apps General Discussion 3
H Apps General Discussion 3
R Apps General Discussion 7
R Apps General Discussion 1
R Apps General Discussion 3
R Apps General Discussion 3
C Apps General Discussion 1
K Apps General Discussion 1

ASK THE COMMUNITY

TRENDING THREADS