|
|
| Author |
Message |
Richard Guest
|
Posted: Sat Jun 30, 2007 10:43 am Post subject: Dos command |
|
|
I used the "dir" command in dos to list all the folders and file in that
directory. However, I want to go into a folder called "A" in the directory
just listed. What is the command for this at the prompt? |
|
| Back to top |
|
 |
|
|
Roger Govier Guest
|
Posted: Sat Jun 30, 2007 11:30 am Post subject: Re: Dos command |
|
|
Hi Richard
cd A
if the folder is directly off the folder you are currently located.
--
Regards
Roger Govier
"Richard" <nomailplease.com> wrote in message
news:4685edda$0$24776$4c368faf@roadrunner.com...
| Quote: | I used the "dir" command in dos to list all the folders and file in
that directory. However, I want to go into a folder called "A" in the
directory just listed. What is the command for this at the prompt?
|
|
|
| Back to top |
|
 |
Michael A. Terrell Guest
|
Posted: Sat Jun 30, 2007 12:17 pm Post subject: Re: Dos command |
|
|
Richard wrote:
| Quote: |
I used the "dir" command in dos to list all the folders and file in that
directory. However, I want to go into a folder called "A" in the directory
just listed. What is the command for this at the prompt?
|
There is a nice program called Directory Lister for Windows that
generates a HTML page with whatever directories you want on a computer.
I use it, along with a search & replace to do most of the grunt work to
create index pages for photos or PDF files.
http://freeware.prv.pl/
--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.
Michael A. Terrell
Central Florida |
|
| Back to top |
|
 |
Don Guillett Guest
|
Posted: Sat Jun 30, 2007 3:49 pm Post subject: Re: Dos command |
|
|
ChDir Statement
Changes the current directory or folder.
Syntax
ChDir path
The required path argument is a string expression that identifies which
directory or folder becomes the new default directory or folder. The path
may include the drive. If no drive is specified, ChDir changes the default
directory or folder on the current drive.
Remarks
The ChDir statement changes the default directory but not the default drive.
For example, if the default drive is C, the following statement changes the
default directory on drive D, but C remains the default drive:
ChDir "D:\TMP"
--
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
"Richard" <nomailplease.com> wrote in message
news:4685edda$0$24776$4c368faf@roadrunner.com...
| Quote: | I used the "dir" command in dos to list all the folders and file in that
directory. However, I want to go into a folder called "A" in the directory
just listed. What is the command for this at the prompt?
|
|
|
| Back to top |
|
 |
Barry Watzman Guest
|
Posted: Sat Jun 30, 2007 3:49 pm Post subject: Re: Dos command |
|
|
You could use:
C >DIR A\*.*
to get a directory of the folder without actually changing to it,
or you could use
C >CD A
To switch to the A folder (the prompt would then be C A>)
And then just plain "DIR"
Richard wrote:
| Quote: | I used the "dir" command in dos to list all the folders and file in that
directory. However, I want to go into a folder called "A" in the directory
just listed. What is the command for this at the prompt?
|
|
|
| Back to top |
|
 |
|