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. |
|
|
|
Thread Tools | Display Modes |
#16
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|