Where are the command files hidden?

Dell / (i don't know)
February 2, 2009 at 16:35:03
Specs: Windows XP, 512 MB (I don't know much about this kinda stuff)
I want to know where are the command files hidden or where i can find them, because I would like to create a program using batch. I would like to create a program like cmd, but in my version. You could enter a command an it will do it. But,i would set the syntax. I would also like to know if you guys could help me out with making this batch program. i would use a *.bat to *.exe coverter to make it look more official.

I would really like you to post an example of such a way to do this thing, I'm doing. I would really like it make this file very successful. Would it be possible to make one. 'Cause I downloaded Python, and I realise that i could create sothing similar to that.

Thank you...

See More: Where are the command files hidden?

Report •

February 3, 2009 at 03:51:36
If I was going to write an interpreter similar to Python, I certainly wouldn't do it using a batch file.

To answer your question, I think you're asking where the executable files are that you can run from the command line, is that right? They're not hidden, they are in the fully documented locations pointed at by the PATH environment variable.

Report •

February 4, 2009 at 11:36:45
Thank you for your help. But, where could I find those files? What is the directory path? And, also could you assist in telling me how I could create something like that and what program (a specific name) could use.

Report •

February 4, 2009 at 15:15:33
You could do it in a language like Python, or something lower-level like C++ which will create an executable (.exe) file. You should first learn well the language and compiler tools you are going to use.

When you type a command at the Command Prompt, the interpreter looks in the following places:

1. Internal command - some commands are simply built into cmd.exe and do not exist as external files.

2. The current directory.

3. Each directory in the PATH. Type SET PATH to see which directories these are.

It looks for files with the extensions .COM, .EXE, .CMD, .BAT and various others. Type SET PATHEXT to find out which extensions these are.

Report •

Related Solutions

Ask Question