Jeff said:
How do I get into a DOS prompt?
Start : Programs : Accessories : Command Prompt
or you can use
Start : Run and enter cmd.exe as the command.
A black window should open. With a DOS prompt.
Some of the commands that work in the window,
are documented here. Not everything here is
applicable, but if you need help, this is as good a
place to look, as any. This documentation is
for "real MSDOS", and not the fake DOS in the
command prompt window.
http://www.vfrazee.com/ms-dos/6.22/help/
Example session. My black window is open, and I type
c: # change to C drive or whatever
drive you want. You'll be plopped
into a bogus directory. The next
command will fix that.
cd \ # change directory to root of drive.
Now sitting in C:
cd Downloads # changing directory pointer to C:\Downloads
Keep adding levels to the current working
directory, until you arrive at your
destination.
dir /P # List the files contained in Downloads
# The /P option limits output to a page at
# a time. That is handy, if the scroll buffer
# isn't large enough.
dir /P *.jpg # List all my JPEG files in Downloads
Using wildcard matching, helps restrict the
listing to the relevant files.
del dirty.jpg # Delete a specific JPEG
Now, another thing to be aware of, is your "PATH"
variable. In any OS of note, there is an execution path,
a series of directories, examined in a specific order,
with programs in it. For a command to be available, it has
to be in the PATH. On some OSes, they allow the current
working directory (the one you CD'ed into), to also contain
potential executable programs.
For example, I copy a program called "md5sum.exe" into
my C:\Downloads. I put that program, and my JPEG file
in the same directory. I CD into the Downloads directory
and then I can run this. This works, because for whatever
reason, "." or the current working directory, is a part
of the execution PATH variable.
md5sum dirty.jpg
or
md5sum.exe dirty.jpg
If you need to edit the PATH, to add directories to it,
you use
System Control Panel : Advanced : Environment Variables button
There is a "User Variable" section at the top, with a PATH.
And a "System Variable" section with a PATH, which presumably
applies to all users. This is an example, where the first item
was added by the Xilinx program installer. The others are
more or less standard as far as I know. I added some
extra spaces, to make the syntax easier to read.
The ones relative to SystemRoot, would be where the
"standard" commands hide, if any.
%XILINX%\bin\nt; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem
Now, you can "delete, like it's 1999"
Typing "exit" into the Command Prompt window,
will make it disappear.
HTH,
Paul