I was wondering how to run any given program right from the command prompt window. I was told that using the keyword "start" and then any program name ".exe" would do the trick. Unfortunately this didnt work.
Lets say i just installed this 3D program Blender. Its stored in my program files. Wouldnt it make sense to type in to the command prompt,
"start blender.exe" ?
It says windows cannot find blender.exe
----------------------------------------------------------------------
HELP PLEASE, I WOULD LIKE TO LEARN HOW TO OPEN ANY PROGRAM RIGHT FROM THE COMMAND PROMPT WINDOW. THANKS :]
----------------------------------------------------------------------
Hey , i get this when i enter the first line to point the directory to my program files.
"The system cannot find the path specified"
Isnt there a way that i can run a search+find command to run a .exe or .txt or .bat file without having to be so specific about the directories? Something like the search bar that sits at the bottom of the start menu.
If anyone can recommend some up-to-date COMMAND-LINE literature that would be great.
The fundamentals of the Windows Command Interpreter have not changed in quite a long time. Almost any reference that you will find on line will be essentially up to date.
Since you had trouble with the "cd" command, you should probably start at the beginning. The Interpreter environment is not very complex, but you do need to understand a few basic concepts.
File systems (file names, file paths)
The working directory
Environment variables
The default search path
The start command, however, if often poorly covered. It uses the same file association information stored in the registry that is used by Windows Explorer, and it also uses registry information to find the executable file for application not in the default search path.
I really don't understand how this is linked with C++, what you really want is a tutorial about batch scripting, which is a different programming language.