A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Printing, or saving to Excel, directory tree



 
 
Thread Tools Display Modes
  #16  
Old April 25th 10, 02:18 AM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

Thanks. Looks intriguing.

--



Steve Mc

DNA to SBC to respond


"Etaoin Shrdlu" wrote in message
...
On 4/23/2010 10:07 PM, Steve Mc wrote:
How can that be done ? Want folders and sub-folders only, not the
individual
files.

Thanks,

Have a look he http://www.karenware.com/powertools/ptdirprn.asp



Ads
  #17  
Old April 25th 10, 02:18 AM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

Thanks. Looks intriguing.

--



Steve Mc

DNA to SBC to respond


"Etaoin Shrdlu" wrote in message
...
On 4/23/2010 10:07 PM, Steve Mc wrote:
How can that be done ? Want folders and sub-folders only, not the
individual
files.

Thanks,

Have a look he http://www.karenware.com/powertools/ptdirprn.asp



  #18  
Old April 25th 10, 02:21 AM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

"Bruce Chambers" wrote in message
...
Steve Mc wrote:
How can that be done ? Want folders and sub-folders only, not the
individual files.

Thanks,



From the command prompt (Start Run Cmd.exe), simply change to the
desired directory and type "dir filelist.txt" or "dir lpt1," just as
you used to do in DOS. Any of the switches for the DIR command (type "dir
/?") will work with this command, if you wish to modify the output. You
can then subsequently edit the resulting text file using NotePad, WordPad,
Word, etc.

Alternatively:

HOW TO Add a Print Directory Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379




Thanks. I did see that and may give it a try, though I'm a bit reticent
about modifying the registry.

--



Steve Mc

DNA to SBC to respond





  #19  
Old April 25th 10, 02:21 AM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

"Bruce Chambers" wrote in message
...
Steve Mc wrote:
How can that be done ? Want folders and sub-folders only, not the
individual files.

Thanks,



From the command prompt (Start Run Cmd.exe), simply change to the
desired directory and type "dir filelist.txt" or "dir lpt1," just as
you used to do in DOS. Any of the switches for the DIR command (type "dir
/?") will work with this command, if you wish to modify the output. You
can then subsequently edit the resulting text file using NotePad, WordPad,
Word, etc.

Alternatively:

HOW TO Add a Print Directory Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379




Thanks. I did see that and may give it a try, though I'm a bit reticent
about modifying the registry.

--



Steve Mc

DNA to SBC to respond





  #20  
Old April 25th 10, 12:04 PM posted to microsoft.public.windowsxp.basics
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Printing, or saving to Excel, directory tree

Steve Mc wrote:
Thank you.
Been I long time since I DOS'ed anything.

I asked for all sub folders and no individual files, but didn't realize that
was still going to be overkill.
Is there a command that would maybe print just one subfolder from the
directory I'm changed to ?

Such as:
My Documents\My Music
My Documents\My Pictures
etc.


Omit the /s switch and you will get the folder list from the current
directory only:

dir /b /a:d c:\dirlist.txt


Also, is the a:d requesting also those drives also ? It only printed the C
stuff, but a and d were not being used at the time ?


No, /a is the attribute switch, it tells DIR to only return objects or
files with certain attributes, and "d" is the "Directory" attribute, it
instructs DIR to only return directory listings. As another poster
noted, you can get help on the command by using the /? switch:

dir /?

John
  #21  
Old April 25th 10, 12:04 PM posted to microsoft.public.windowsxp.basics
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Printing, or saving to Excel, directory tree

Steve Mc wrote:
Thank you.
Been I long time since I DOS'ed anything.

I asked for all sub folders and no individual files, but didn't realize that
was still going to be overkill.
Is there a command that would maybe print just one subfolder from the
directory I'm changed to ?

Such as:
My Documents\My Music
My Documents\My Pictures
etc.


Omit the /s switch and you will get the folder list from the current
directory only:

dir /b /a:d c:\dirlist.txt


Also, is the a:d requesting also those drives also ? It only printed the C
stuff, but a and d were not being used at the time ?


No, /a is the attribute switch, it tells DIR to only return objects or
files with certain attributes, and "d" is the "Directory" attribute, it
instructs DIR to only return directory listings. As another poster
noted, you can get help on the command by using the /? switch:

dir /?

John
  #22  
Old April 25th 10, 02:44 PM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

Is there a command that would maybe print just one subfolder from the
directory I'm changed to ?

Such as:
My Documents\My Music
My Documents\My Pictures
etc.


Omit the /s switch and you will get the folder list from the current
directory only:

dir /b /a:d c:\dirlist.txt


Thank you , that's what I was looking for.

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\ and
N:\ I can't get cd to recognize.
In Explorer, they are showing as:

My Book Essential (G) and
My Book (N)

Thanks again,




Steve Mc

DNA to SBC to respond

--


  #23  
Old April 25th 10, 02:44 PM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree


Is there a command that would maybe print just one subfolder from the
directory I'm changed to ?

Such as:
My Documents\My Music
My Documents\My Pictures
etc.


Omit the /s switch and you will get the folder list from the current
directory only:

dir /b /a:d c:\dirlist.txt


Thank you , that's what I was looking for.

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\ and
N:\ I can't get cd to recognize.
In Explorer, they are showing as:

My Book Essential (G) and
My Book (N)

Thanks again,




Steve Mc

DNA to SBC to respond

--


  #24  
Old April 25th 10, 03:36 PM posted to microsoft.public.windowsxp.basics
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Printing, or saving to Excel, directory tree

On Sun, 25 Apr 2010 06:44:55 -0700, "Steve Mc"
wrote:

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\ and
N:\ I can't get cd to recognize.



You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #25  
Old April 25th 10, 03:36 PM posted to microsoft.public.windowsxp.basics
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Printing, or saving to Excel, directory tree

On Sun, 25 Apr 2010 06:44:55 -0700, "Steve Mc"
wrote:

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\ and
N:\ I can't get cd to recognize.



You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #26  
Old April 25th 10, 05:14 PM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

"Ken Blake, MVP" wrote in message
...
On Sun, 25 Apr 2010 06:44:55 -0700, "Steve Mc"
wrote:

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\
and
N:\ I can't get cd to recognize.



You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


Perfect. Thank you so much.

Steve

--



Steve Mc

DNA to SBC to respond


  #27  
Old April 25th 10, 05:14 PM posted to microsoft.public.windowsxp.basics
Steve Mc
external usenet poster
 
Posts: 20
Default Printing, or saving to Excel, directory tree

"Ken Blake, MVP" wrote in message
...
On Sun, 25 Apr 2010 06:44:55 -0700, "Steve Mc"
wrote:

One last DOS question, if you don't mind.

I'm trying to change directories ,via the CD command, to my external hard
drives, but it doesn't seem to be working.

such as from main command prompt C:\Documents and Settings\Steve
cd:\my documents goes to that directory , but my externals G:\
and
N:\ I can't get cd to recognize.



You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


Perfect. Thank you so much.

Steve

--



Steve Mc

DNA to SBC to respond


  #28  
Old April 25th 10, 08:01 PM posted to microsoft.public.windowsxp.basics
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Printing, or saving to Excel, directory tree

On Sun, 25 Apr 2010 09:14:10 -0700, "Steve Mc"
wrote:

"Ken Blake, MVP" wrote in message
...


You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


Perfect. Thank you so much.




You're welcome. Glad to help.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #29  
Old April 25th 10, 08:01 PM posted to microsoft.public.windowsxp.basics
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Printing, or saving to Excel, directory tree

On Sun, 25 Apr 2010 09:14:10 -0700, "Steve Mc"
wrote:

"Ken Blake, MVP" wrote in message
...


You don't switch drives with CD

Simply type g: or n:

That will take you to the drive. Then you can use CD to switch to
whatever folder you want in the drive.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


Perfect. Thank you so much.




You're welcome. Glad to help.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 04:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.