Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Change a file directory list to a new document

Reply
 
Old 05-14-2007   #1 (permalink)
rmstow


 
 

Change a file directory list to a new document

I am trying to change a file directory list to a txt document using dos
commands like I did with other windows operating systems. The commands are as
follows for Windows ME
cd ..
cd mydocuments~1 (Got me to the directory of files that I needed)
dir (got me the list of files)
cd AE107~1 (got me to the file that contained the folder that I wanted to
change)
dir (Got me to the list of folders containing the documents that I needed to
change)
dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
folder directory to a txt document) I saved the documents in a way that would
change them to a table once I changed the folder directory to a text document.

In other words, the folder 15apr was a folder that contained multiple
documents and I could change that folder to a txt document using the above
dos commands. Then I could go back into MS Work, find the new txt document
containing the list of documents, and take the list and convert it to a
table. My goal is to change the directory list of documents to a table.
Please help !!!!!!!! Right now I am entering these documents manually into a
table (there are hundreds) and it is taking me hours. Thank you.

My System SpecsSystem Spec
Old 05-15-2007   #2 (permalink)
Jimmy Brush


 
 

Re: Change a file directory list to a new document

You should be able to use these same commands in vista using the
command prompt. What error are you getting?

- JB

On Mon, 14 May 2007 17:47:01 -0700, rmstow
<rmstow@discussions.microsoft.com> wrote:

>I am trying to change a file directory list to a txt document using dos
>commands like I did with other windows operating systems. The commands are as
>follows for Windows ME
>cd ..
>cd mydocuments~1 (Got me to the directory of files that I needed)
>dir (got me the list of files)
>cd AE107~1 (got me to the file that contained the folder that I wanted to
>change)
>dir (Got me to the list of folders containing the documents that I needed to
>change)
>dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
>folder directory to a txt document) I saved the documents in a way that would
>change them to a table once I changed the folder directory to a text document.
>
>In other words, the folder 15apr was a folder that contained multiple
>documents and I could change that folder to a txt document using the above
>dos commands. Then I could go back into MS Work, find the new txt document
>containing the list of documents, and take the list and convert it to a
>table. My goal is to change the directory list of documents to a table.
>Please help !!!!!!!! Right now I am entering these documents manually into a
>table (there are hundreds) and it is taking me hours. Thank you.

My System SpecsSystem Spec
Old 05-16-2007   #3 (permalink)
rmstow


 
 

Re: Change a file directory list to a new document

All of the commands work up until the end when I get "file not found" and the
new file that is created by the end command is empty and does not contain the
directory list. I have tried using .txt at the end of the command when naming
the new file, but that doesn't work either (this was suggested by MS IT
Help).

"Jimmy Brush" wrote:

> You should be able to use these same commands in vista using the
> command prompt. What error are you getting?
>
> - JB
>
> On Mon, 14 May 2007 17:47:01 -0700, rmstow
> <rmstow@discussions.microsoft.com> wrote:
>
> >I am trying to change a file directory list to a txt document using dos
> >commands like I did with other windows operating systems. The commands are as
> >follows for Windows ME
> >cd ..
> >cd mydocuments~1 (Got me to the directory of files that I needed)
> >dir (got me the list of files)
> >cd AE107~1 (got me to the file that contained the folder that I wanted to
> >change)
> >dir (Got me to the list of folders containing the documents that I needed to
> >change)
> >dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
> >folder directory to a txt document) I saved the documents in a way that would
> >change them to a table once I changed the folder directory to a text document.
> >
> >In other words, the folder 15apr was a folder that contained multiple
> >documents and I could change that folder to a txt document using the above
> >dos commands. Then I could go back into MS Work, find the new txt document
> >containing the list of documents, and take the list and convert it to a
> >table. My goal is to change the directory list of documents to a table.
> >Please help !!!!!!!! Right now I am entering these documents manually into a
> >table (there are hundreds) and it is taking me hours. Thank you.

>

My System SpecsSystem Spec
Old 05-17-2007   #4 (permalink)
Jimmy Brush


 
 

Re: Change a file directory list to a new document

Ah ok...

This line does look suspicious:

dir 15apr~3/b >Ae1

when you get to that line, do this command instead:

dir

And then find the directory you are trying to get a list for. If it is
a directory that has a name longer than 8 letters, you can type the
command like this:

dir "long directory name" > Ae1

This way you avoid the ~3 notation, which may be confusing.

- JB

On Wed, 16 May 2007 20:46:02 -0700, rmstow
<rmstow@discussions.microsoft.com> wrote:

>All of the commands work up until the end when I get "file not found" and the
>new file that is created by the end command is empty and does not contain the
>directory list. I have tried using .txt at the end of the command when naming
>the new file, but that doesn't work either (this was suggested by MS IT
>Help).
>
>"Jimmy Brush" wrote:
>
>> You should be able to use these same commands in vista using the
>> command prompt. What error are you getting?
>>
>> - JB
>>
>> On Mon, 14 May 2007 17:47:01 -0700, rmstow
>> <rmstow@discussions.microsoft.com> wrote:
>>
>> >I am trying to change a file directory list to a txt document using dos
>> >commands like I did with other windows operating systems. The commands are as
>> >follows for Windows ME
>> >cd ..
>> >cd mydocuments~1 (Got me to the directory of files that I needed)
>> >dir (got me the list of files)
>> >cd AE107~1 (got me to the file that contained the folder that I wanted to
>> >change)
>> >dir (Got me to the list of folders containing the documents that I needed to
>> >change)
>> >dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
>> >folder directory to a txt document) I saved the documents in a way that would
>> >change them to a table once I changed the folder directory to a text document.
>> >
>> >In other words, the folder 15apr was a folder that contained multiple
>> >documents and I could change that folder to a txt document using the above
>> >dos commands. Then I could go back into MS Work, find the new txt document
>> >containing the list of documents, and take the list and convert it to a
>> >table. My goal is to change the directory list of documents to a table.
>> >Please help !!!!!!!! Right now I am entering these documents manually into a
>> >table (there are hundreds) and it is taking me hours. Thank you.

>>

My System SpecsSystem Spec
Old 05-20-2007   #5 (permalink)
rmstow


 
 

Re: Change a file directory list to a new document

Dear Jim:

Thanks for the suggestion but the commands still do not work. I still get an
empty file at the end. I even changed the file name to make it shorter and
not ending in a number to see if that would make a difference, but it didn't.
The final command looks liked this:

dir AE 15May/b >aeonem

The "AE 15May" is the name of the file that contains the directory of
documents that I want changed to a text list.

"aeonem" is the name of the new file that is supposed to have the text list.

Am I doing anything else wrong, or should I just give up and get used to the
fact that this will all need to be done manually?

Thanks.

"rmstow" wrote:

> All of the commands work up until the end when I get "file not found" and the
> new file that is created by the end command is empty and does not contain the
> directory list. I have tried using .txt at the end of the command when naming
> the new file, but that doesn't work either (this was suggested by MS IT
> Help).
>
> "Jimmy Brush" wrote:
>
> > You should be able to use these same commands in vista using the
> > command prompt. What error are you getting?
> >
> > - JB
> >
> > On Mon, 14 May 2007 17:47:01 -0700, rmstow
> > <rmstow@discussions.microsoft.com> wrote:
> >
> > >I am trying to change a file directory list to a txt document using dos
> > >commands like I did with other windows operating systems. The commands are as
> > >follows for Windows ME
> > >cd ..
> > >cd mydocuments~1 (Got me to the directory of files that I needed)
> > >dir (got me the list of files)
> > >cd AE107~1 (got me to the file that contained the folder that I wanted to
> > >change)
> > >dir (Got me to the list of folders containing the documents that I needed to
> > >change)
> > >dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
> > >folder directory to a txt document) I saved the documents in a way that would
> > >change them to a table once I changed the folder directory to a text document.
> > >
> > >In other words, the folder 15apr was a folder that contained multiple
> > >documents and I could change that folder to a txt document using the above
> > >dos commands. Then I could go back into MS Work, find the new txt document
> > >containing the list of documents, and take the list and convert it to a
> > >table. My goal is to change the directory list of documents to a table.
> > >Please help !!!!!!!! Right now I am entering these documents manually into a
> > >table (there are hundreds) and it is taking me hours. Thank you.

> >

My System SpecsSystem Spec
Old 05-20-2007   #6 (permalink)
Jimmy Brush


 
 

Re: Change a file directory list to a new document

Hello,

If the folder name that you want a list for has spaces in it, you need
to put it inside double-quotes.

So, your command should be:

dir "AE 15May" > aeonem

Neat trick:

Your computer can help you type the command. As you are typing the
command, you can stop when you reach this point:

dir "AE

and then press TAB. Your computer will find a matching folder at your
current location and automatically complete it for you. You can keep
pressing TAB until it finds the one you are looking for.

Once it is at the one you want, you can finish typing out the command
(the > aeonem part)

--
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/

On Sat, 19 May 2007 21:26:01 -0700, rmstow
<rmstow@discussions.microsoft.com> wrote:

>Dear Jim:
>
>Thanks for the suggestion but the commands still do not work. I still get an
>empty file at the end. I even changed the file name to make it shorter and
>not ending in a number to see if that would make a difference, but it didn't.
>The final command looks liked this:
>
>dir AE 15May/b >aeonem
>
>The "AE 15May" is the name of the file that contains the directory of
>documents that I want changed to a text list.
>
>"aeonem" is the name of the new file that is supposed to have the text list.
>
>Am I doing anything else wrong, or should I just give up and get used to the
>fact that this will all need to be done manually?
>
>Thanks.
>
>"rmstow" wrote:
>
>> All of the commands work up until the end when I get "file not found" and the
>> new file that is created by the end command is empty and does not contain the
>> directory list. I have tried using .txt at the end of the command when naming
>> the new file, but that doesn't work either (this was suggested by MS IT
>> Help).
>>
>> "Jimmy Brush" wrote:
>>
>> > You should be able to use these same commands in vista using the
>> > command prompt. What error are you getting?
>> >
>> > - JB
>> >
>> > On Mon, 14 May 2007 17:47:01 -0700, rmstow
>> > <rmstow@discussions.microsoft.com> wrote:
>> >
>> > >I am trying to change a file directory list to a txt document using dos
>> > >commands like I did with other windows operating systems. The commands are as
>> > >follows for Windows ME
>> > >cd ..
>> > >cd mydocuments~1 (Got me to the directory of files that I needed)
>> > >dir (got me the list of files)
>> > >cd AE107~1 (got me to the file that contained the folder that I wanted to
>> > >change)
>> > >dir (Got me to the list of folders containing the documents that I needed to
>> > >change)
>> > >dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
>> > >folder directory to a txt document) I saved the documents in a way that would
>> > >change them to a table once I changed the folder directory to a text document.
>> > >
>> > >In other words, the folder 15apr was a folder that contained multiple
>> > >documents and I could change that folder to a txt document using the above
>> > >dos commands. Then I could go back into MS Work, find the new txt document
>> > >containing the list of documents, and take the list and convert it to a
>> > >table. My goal is to change the directory list of documents to a table.
>> > >Please help !!!!!!!! Right now I am entering these documents manually into a
>> > >table (there are hundreds) and it is taking me hours. Thank you.
>> >

My System SpecsSystem Spec
Old 05-23-2007   #7 (permalink)
rmstow


 
 

Re: Change a file directory list to a new document

Dear Jimmy Brush:

OH MY GOD!!!! It worked !!!!!! I can now save up to 6 hours per week, thanks
to you. You have been a great help!!!!!! Thank you, thank you, thank you.

"Jimmy Brush" wrote:

> Hello,
>
> If the folder name that you want a list for has spaces in it, you need
> to put it inside double-quotes.
>
> So, your command should be:
>
> dir "AE 15May" > aeonem
>
> Neat trick:
>
> Your computer can help you type the command. As you are typing the
> command, you can stop when you reach this point:
>
> dir "AE
>
> and then press TAB. Your computer will find a matching folder at your
> current location and automatically complete it for you. You can keep
> pressing TAB until it finds the one you are looking for.
>
> Once it is at the one you want, you can finish typing out the command
> (the > aeonem part)
>
> --
> -JB
> Microsoft MVP - Windows Shell
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
> On Sat, 19 May 2007 21:26:01 -0700, rmstow
> <rmstow@discussions.microsoft.com> wrote:
>
> >Dear Jim:
> >
> >Thanks for the suggestion but the commands still do not work. I still get an
> >empty file at the end. I even changed the file name to make it shorter and
> >not ending in a number to see if that would make a difference, but it didn't.
> >The final command looks liked this:
> >
> >dir AE 15May/b >aeonem
> >
> >The "AE 15May" is the name of the file that contains the directory of
> >documents that I want changed to a text list.
> >
> >"aeonem" is the name of the new file that is supposed to have the text list.
> >
> >Am I doing anything else wrong, or should I just give up and get used to the
> >fact that this will all need to be done manually?
> >
> >Thanks.
> >
> >"rmstow" wrote:
> >
> >> All of the commands work up until the end when I get "file not found" and the
> >> new file that is created by the end command is empty and does not contain the
> >> directory list. I have tried using .txt at the end of the command when naming
> >> the new file, but that doesn't work either (this was suggested by MS IT
> >> Help).
> >>
> >> "Jimmy Brush" wrote:
> >>
> >> > You should be able to use these same commands in vista using the
> >> > command prompt. What error are you getting?
> >> >
> >> > - JB
> >> >
> >> > On Mon, 14 May 2007 17:47:01 -0700, rmstow
> >> > <rmstow@discussions.microsoft.com> wrote:
> >> >
> >> > >I am trying to change a file directory list to a txt document using dos
> >> > >commands like I did with other windows operating systems. The commands are as
> >> > >follows for Windows ME
> >> > >cd ..
> >> > >cd mydocuments~1 (Got me to the directory of files that I needed)
> >> > >dir (got me the list of files)
> >> > >cd AE107~1 (got me to the file that contained the folder that I wanted to
> >> > >change)
> >> > >dir (Got me to the list of folders containing the documents that I needed to
> >> > >change)
> >> > >dir 15apr~3/b >Ae1 (this is the command line that I used to change the 15apr
> >> > >folder directory to a txt document) I saved the documents in a way that would
> >> > >change them to a table once I changed the folder directory to a text document.
> >> > >
> >> > >In other words, the folder 15apr was a folder that contained multiple
> >> > >documents and I could change that folder to a txt document using the above
> >> > >dos commands. Then I could go back into MS Work, find the new txt document
> >> > >containing the list of documents, and take the list and convert it to a
> >> > >table. My goal is to change the directory list of documents to a table.
> >> > >Please help !!!!!!!! Right now I am entering these documents manually into a
> >> > >table (there are hundreds) and it is taking me hours. Thank you.
> >> >

>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Change permission in directory or file? Vista General
Conversion of file list to Word Document Vista file management
File and Folder Directory List - Print and Save Tutorials
Vista doesnt change my user directory file name Vista account administration
Change a file directory list to a text document in Vista Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46