List of files

J

Jerry

A while back, I remember seeing (or was it my imagination) someone post a
comment about Vista having a built-in utility that would create a text file
on the desktop that listed the files/folders within a directory.

If this is true, could someone refresh my memory.

Thank you
 
R

Rick Rogers

Hi,

It's not a utility, but a simple command. Click start and type CMD, then hit
<enter> to open the prompt. Then run:

dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt

"drive:\folder_path" being the folder you want to index, and list.txt being
the file name that is created on the desktop. You can use any name you
choose. If you want to index protected system folders, before beginning you
should right click on the CMD entry in the start menu and use 'run as
administrator'.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"Jerry" <jhuffman@triad.rr.com> wrote in message
news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>A while back, I remember seeing (or was it my imagination) someone post a
>comment about Vista having a built-in utility that would create a text file
>on the desktop that listed the files/folders within a directory.
>
> If this is true, could someone refresh my memory.
>
> Thank you
>
 
L

LoneWolf

Rick

You never seem to amaze me. Your responses are not only
correct but, are always polite.

Congrats' mate, you well deserve your MVP +

--
regards
CL
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''


"Rick Rogers" wrote:

> Hi,
>
> It's not a utility, but a simple command. Click start and type CMD, then hit
> <enter> to open the prompt. Then run:
>
> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>
> "drive:\folder_path" being the folder you want to index, and list.txt being
> the file name that is created on the desktop. You can use any name you
> choose. If you want to index protected system folders, before beginning you
> should right click on the CMD entry in the start menu and use 'run as
> administrator'.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Windows help - www.rickrogers.org
> My thoughts http://rick-mvp.blogspot.com
>
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
> >A while back, I remember seeing (or was it my imagination) someone post a
> >comment about Vista having a built-in utility that would create a text file
> >on the desktop that listed the files/folders within a directory.
> >
> > If this is true, could someone refresh my memory.
> >
> > Thank you
> >

>
>
 
J

Jerry

LoneWolf I absolutely agree .
Thank You very much Rick

"LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
> Rick
>
> You never seem to amaze me. Your responses are not only
> correct but, are always polite.
>
> Congrats' mate, you well deserve your MVP +
>
> --
> regards
> CL
> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>
>
> "Rick Rogers" wrote:
>
>> Hi,
>>
>> It's not a utility, but a simple command. Click start and type CMD, then
>> hit
>> <enter> to open the prompt. Then run:
>>
>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>
>> "drive:\folder_path" being the folder you want to index, and list.txt
>> being
>> the file name that is created on the desktop. You can use any name you
>> choose. If you want to index protected system folders, before beginning
>> you
>> should right click on the CMD entry in the start menu and use 'run as
>> administrator'.
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>> http://mvp.support.microsoft.com/
>> Windows help - www.rickrogers.org
>> My thoughts http://rick-mvp.blogspot.com
>>
>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>> >A while back, I remember seeing (or was it my imagination) someone post
>> >a
>> >comment about Vista having a built-in utility that would create a text
>> >file
>> >on the desktop that listed the files/folders within a directory.
>> >
>> > If this is true, could someone refresh my memory.
>> >
>> > Thank you
>> >

>>
>>
 
J

Jerry

I must be dense as a rock. I did the search typing in "cmd" and hit enter
and got a prompt.
Then typed in"
dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt

Got this "The filename, directory name, or volume label syntax is
incorrect."

The directory I want to print the is on H drive and the folder is Vista
Software II <a very simple path and is correct>. I wanted to name the text
file vistasoftware.

Where did I go wrong ???
btw the prompt when hit enter after typing in cmd was C:\Users\myname. Not
sure if that matters.

So still need some help please

"Jerry" <jhuffman@triad.rr.com> wrote in message
news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
> LoneWolf I absolutely agree .
> Thank You very much Rick
>
> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>> Rick
>>
>> You never seem to amaze me. Your responses are not only
>> correct but, are always polite.
>>
>> Congrats' mate, you well deserve your MVP +
>>
>> --
>> regards
>> CL
>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>
>>
>> "Rick Rogers" wrote:
>>
>>> Hi,
>>>
>>> It's not a utility, but a simple command. Click start and type CMD, then
>>> hit
>>> <enter> to open the prompt. Then run:
>>>
>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>
>>> "drive:\folder_path" being the folder you want to index, and list.txt
>>> being
>>> the file name that is created on the desktop. You can use any name you
>>> choose. If you want to index protected system folders, before beginning
>>> you
>>> should right click on the CMD entry in the start menu and use 'run as
>>> administrator'.
>>>
>>> --
>>> Best of Luck,
>>>
>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>> http://mvp.support.microsoft.com/
>>> Windows help - www.rickrogers.org
>>> My thoughts http://rick-mvp.blogspot.com
>>>
>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>> >A while back, I remember seeing (or was it my imagination) someone post
>>> >a
>>> >comment about Vista having a built-in utility that would create a text
>>> >file
>>> >on the desktop that listed the files/folders within a directory.
>>> >
>>> > If this is true, could someone refresh my memory.
>>> >
>>> > Thank you
>>> >
>>>
>>>

>
 
M

MacArthur

dir /s "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt

add quotes after II.

--
Live strong and have a nice day, - "Nil carborundum illegitimi"!
Mac H E L P the planet - Don't I D L E ! ! !
Over 1600 Links at Http://MacArthur.Funknstyle.Com
Pictures at http://www.flickr.com/photos/macarthur


"Jerry" <jhuffman@triad.rr.com> wrote in message
news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>I must be dense as a rock. I did the search typing in "cmd" and hit enter
>and got a prompt.
> Then typed in"
> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>
> Got this "The filename, directory name, or volume label syntax is
> incorrect."
>
> The directory I want to print the is on H drive and the folder is Vista
> Software II <a very simple path and is correct>. I wanted to name the
> text file vistasoftware.
>
> Where did I go wrong ???
> btw the prompt when hit enter after typing in cmd was C:\Users\myname.
> Not sure if that matters.
>
> So still need some help please
>
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>> LoneWolf I absolutely agree .
>> Thank You very much Rick
>>
>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>> Rick
>>>
>>> You never seem to amaze me. Your responses are not only
>>> correct but, are always polite.
>>>
>>> Congrats' mate, you well deserve your MVP +
>>>
>>> --
>>> regards
>>> CL
>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>
>>>
>>> "Rick Rogers" wrote:
>>>
>>>> Hi,
>>>>
>>>> It's not a utility, but a simple command. Click start and type CMD,
>>>> then hit
>>>> <enter> to open the prompt. Then run:
>>>>
>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>
>>>> "drive:\folder_path" being the folder you want to index, and list.txt
>>>> being
>>>> the file name that is created on the desktop. You can use any name you
>>>> choose. If you want to index protected system folders, before beginning
>>>> you
>>>> should right click on the CMD entry in the start menu and use 'run as
>>>> administrator'.
>>>>
>>>> --
>>>> Best of Luck,
>>>>
>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>> http://mvp.support.microsoft.com/
>>>> Windows help - www.rickrogers.org
>>>> My thoughts http://rick-mvp.blogspot.com
>>>>
>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>> >A while back, I remember seeing (or was it my imagination) someone
>>>> >post a
>>>> >comment about Vista having a built-in utility that would create a text
>>>> >file
>>>> >on the desktop that listed the files/folders within a directory.
>>>> >
>>>> > If this is true, could someone refresh my memory.
>>>> >
>>>> > Thank you
>>>> >
>>>>
>>>>

>>

>
 
R

Rick Rogers

Yep, easy to miss those.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
> dir /s "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
>
> add quotes after II.
>
> --
> Live strong and have a nice day, - "Nil carborundum illegitimi"!
> Mac H E L P the planet - Don't I D L E ! ! !
> Over 1600 Links at Http://MacArthur.Funknstyle.Com
> Pictures at http://www.flickr.com/photos/macarthur
>
>
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>I must be dense as a rock. I did the search typing in "cmd" and hit enter
>>and got a prompt.
>> Then typed in"
>> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>>
>> Got this "The filename, directory name, or volume label syntax is
>> incorrect."
>>
>> The directory I want to print the is on H drive and the folder is Vista
>> Software II <a very simple path and is correct>. I wanted to name the
>> text file vistasoftware.
>>
>> Where did I go wrong ???
>> btw the prompt when hit enter after typing in cmd was C:\Users\myname.
>> Not sure if that matters.
>>
>> So still need some help please
>>
>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>> LoneWolf I absolutely agree .
>>> Thank You very much Rick
>>>
>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>> Rick
>>>>
>>>> You never seem to amaze me. Your responses are not only
>>>> correct but, are always polite.
>>>>
>>>> Congrats' mate, you well deserve your MVP +
>>>>
>>>> --
>>>> regards
>>>> CL
>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>
>>>>
>>>> "Rick Rogers" wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> It's not a utility, but a simple command. Click start and type CMD,
>>>>> then hit
>>>>> <enter> to open the prompt. Then run:
>>>>>
>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>
>>>>> "drive:\folder_path" being the folder you want to index, and list.txt
>>>>> being
>>>>> the file name that is created on the desktop. You can use any name you
>>>>> choose. If you want to index protected system folders, before
>>>>> beginning you
>>>>> should right click on the CMD entry in the start menu and use 'run as
>>>>> administrator'.
>>>>>
>>>>> --
>>>>> Best of Luck,
>>>>>
>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>> http://mvp.support.microsoft.com/
>>>>> Windows help - www.rickrogers.org
>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>
>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>> >A while back, I remember seeing (or was it my imagination) someone
>>>>> >post a
>>>>> >comment about Vista having a built-in utility that would create a
>>>>> >text file
>>>>> >on the desktop that listed the files/folders within a directory.
>>>>> >
>>>>> > If this is true, could someone refresh my memory.
>>>>> >
>>>>> > Thank you
>>>>> >
>>>>>
>>>>>
>>>

>>

>
 
J

Jerry

I must have missed something in the postings. This reply is the only one I
see now as the original post does NOT show now < removed I guess>. I still
can NOT get the list made and assume I am using the wrong format.

"Rick Rogers" <rick@mvps.org> wrote in message
news:%23$AyRSByHHA.276@TK2MSFTNGP06.phx.gbl...
> Yep, easy to miss those.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Windows help - www.rickrogers.org
> My thoughts http://rick-mvp.blogspot.com
>
> "MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
> news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
>> dir /s "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
>>
>> add quotes after II.
>>
>> --
>> Live strong and have a nice day, - "Nil carborundum illegitimi"!
>> Mac H E L P the planet - Don't I D L E ! ! !
>> Over 1600 Links at Http://MacArthur.Funknstyle.Com
>> Pictures at http://www.flickr.com/photos/macarthur
>>
>>
>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>>I must be dense as a rock. I did the search typing in "cmd" and hit
>>>enter and got a prompt.
>>> Then typed in"
>>> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>>>
>>> Got this "The filename, directory name, or volume label syntax is
>>> incorrect."
>>>
>>> The directory I want to print the is on H drive and the folder is Vista
>>> Software II <a very simple path and is correct>. I wanted to name the
>>> text file vistasoftware.
>>>
>>> Where did I go wrong ???
>>> btw the prompt when hit enter after typing in cmd was C:\Users\myname.
>>> Not sure if that matters.
>>>
>>> So still need some help please
>>>
>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>>> LoneWolf I absolutely agree .
>>>> Thank You very much Rick
>>>>
>>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>>> Rick
>>>>>
>>>>> You never seem to amaze me. Your responses are not only
>>>>> correct but, are always polite.
>>>>>
>>>>> Congrats' mate, you well deserve your MVP +
>>>>>
>>>>> --
>>>>> regards
>>>>> CL
>>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>>
>>>>>
>>>>> "Rick Rogers" wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> It's not a utility, but a simple command. Click start and type CMD,
>>>>>> then hit
>>>>>> <enter> to open the prompt. Then run:
>>>>>>
>>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>>
>>>>>> "drive:\folder_path" being the folder you want to index, and list.txt
>>>>>> being
>>>>>> the file name that is created on the desktop. You can use any name
>>>>>> you
>>>>>> choose. If you want to index protected system folders, before
>>>>>> beginning you
>>>>>> should right click on the CMD entry in the start menu and use 'run as
>>>>>> administrator'.
>>>>>>
>>>>>> --
>>>>>> Best of Luck,
>>>>>>
>>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>>> http://mvp.support.microsoft.com/
>>>>>> Windows help - www.rickrogers.org
>>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>>
>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>>> >A while back, I remember seeing (or was it my imagination) someone
>>>>>> >post a
>>>>>> >comment about Vista having a built-in utility that would create a
>>>>>> >text file
>>>>>> >on the desktop that listed the files/folders within a directory.
>>>>>> >
>>>>>> > If this is true, could someone refresh my memory.
>>>>>> >
>>>>>> > Thank you
>>>>>> >
>>>>>>
>>>>>>
>>>>
>>>

>>

>
 
J

Jerry

LOL Newsgroups are acting up and now the posts are back except my original.
I think I have it now. Thanks MacArthur I will make the change and check it
out.

"Jerry" <jhuffman@triad.rr.com> wrote in message
news:OwbmYpGyHHA.4516@TK2MSFTNGP04.phx.gbl...
>I must have missed something in the postings. This reply is the only one I
>see now as the original post does NOT show now < removed I guess>. I still
>can NOT get the list made and assume I am using the wrong format.
>
> "Rick Rogers" <rick@mvps.org> wrote in message
> news:%23$AyRSByHHA.276@TK2MSFTNGP06.phx.gbl...
>> Yep, easy to miss those.
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>> http://mvp.support.microsoft.com/
>> Windows help - www.rickrogers.org
>> My thoughts http://rick-mvp.blogspot.com
>>
>> "MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
>> news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
>>> dir /s "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
>>>
>>> add quotes after II.
>>>
>>> --
>>> Live strong and have a nice day, - "Nil carborundum illegitimi"!
>>> Mac H E L P the planet - Don't I D L E ! ! !
>>> Over 1600 Links at Http://MacArthur.Funknstyle.Com
>>> Pictures at http://www.flickr.com/photos/macarthur
>>>
>>>
>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>>>I must be dense as a rock. I did the search typing in "cmd" and hit
>>>>enter and got a prompt.
>>>> Then typed in"
>>>> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>>>>
>>>> Got this "The filename, directory name, or volume label syntax is
>>>> incorrect."
>>>>
>>>> The directory I want to print the is on H drive and the folder is Vista
>>>> Software II <a very simple path and is correct>. I wanted to name the
>>>> text file vistasoftware.
>>>>
>>>> Where did I go wrong ???
>>>> btw the prompt when hit enter after typing in cmd was C:\Users\myname.
>>>> Not sure if that matters.
>>>>
>>>> So still need some help please
>>>>
>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>> LoneWolf I absolutely agree .
>>>>> Thank You very much Rick
>>>>>
>>>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>>>> Rick
>>>>>>
>>>>>> You never seem to amaze me. Your responses are not only
>>>>>> correct but, are always polite.
>>>>>>
>>>>>> Congrats' mate, you well deserve your MVP +
>>>>>>
>>>>>> --
>>>>>> regards
>>>>>> CL
>>>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>>>
>>>>>>
>>>>>> "Rick Rogers" wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> It's not a utility, but a simple command. Click start and type CMD,
>>>>>>> then hit
>>>>>>> <enter> to open the prompt. Then run:
>>>>>>>
>>>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>>>
>>>>>>> "drive:\folder_path" being the folder you want to index, and
>>>>>>> list.txt being
>>>>>>> the file name that is created on the desktop. You can use any name
>>>>>>> you
>>>>>>> choose. If you want to index protected system folders, before
>>>>>>> beginning you
>>>>>>> should right click on the CMD entry in the start menu and use 'run
>>>>>>> as
>>>>>>> administrator'.
>>>>>>>
>>>>>>> --
>>>>>>> Best of Luck,
>>>>>>>
>>>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>>>> http://mvp.support.microsoft.com/
>>>>>>> Windows help - www.rickrogers.org
>>>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>>>
>>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>>>> >A while back, I remember seeing (or was it my imagination) someone
>>>>>>> >post a
>>>>>>> >comment about Vista having a built-in utility that would create a
>>>>>>> >text file
>>>>>>> >on the desktop that listed the files/folders within a directory.
>>>>>>> >
>>>>>>> > If this is true, could someone refresh my memory.
>>>>>>> >
>>>>>>> > Thank you
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>

>>

>
>
 
J

Jerry

It worked and created the text file. One more question and I will let it
be.
Is there anyway to format what the text file will generate.? Example the
folder I generated the list for has actually has several folders withing it.
Can I make it generate only the list of folders within the main folder and
not the actual list of files?

Hope that makes sense. Thank you.
"Jerry" <jhuffman@triad.rr.com> wrote in message
news:%23$3Iy6GyHHA.3588@TK2MSFTNGP06.phx.gbl...
> LOL Newsgroups are acting up and now the posts are back except my
> original. I think I have it now. Thanks MacArthur I will make the change
> and check it out.
>
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:OwbmYpGyHHA.4516@TK2MSFTNGP04.phx.gbl...
>>I must have missed something in the postings. This reply is the only one
>>I see now as the original post does NOT show now < removed I guess>. I
>>still can NOT get the list made and assume I am using the wrong format.
>>
>> "Rick Rogers" <rick@mvps.org> wrote in message
>> news:%23$AyRSByHHA.276@TK2MSFTNGP06.phx.gbl...
>>> Yep, easy to miss those.
>>>
>>> --
>>> Best of Luck,
>>>
>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>> http://mvp.support.microsoft.com/
>>> Windows help - www.rickrogers.org
>>> My thoughts http://rick-mvp.blogspot.com
>>>
>>> "MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
>>> news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
>>>> dir /s "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
>>>>
>>>> add quotes after II.
>>>>
>>>> --
>>>> Live strong and have a nice day, - "Nil carborundum illegitimi"!
>>>> Mac H E L P the planet - Don't I D L E ! ! !
>>>> Over 1600 Links at Http://MacArthur.Funknstyle.Com
>>>> Pictures at http://www.flickr.com/photos/macarthur
>>>>
>>>>
>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>>>>I must be dense as a rock. I did the search typing in "cmd" and hit
>>>>>enter and got a prompt.
>>>>> Then typed in"
>>>>> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>>>>>
>>>>> Got this "The filename, directory name, or volume label syntax is
>>>>> incorrect."
>>>>>
>>>>> The directory I want to print the is on H drive and the folder is
>>>>> Vista Software II <a very simple path and is correct>. I wanted to
>>>>> name the text file vistasoftware.
>>>>>
>>>>> Where did I go wrong ???
>>>>> btw the prompt when hit enter after typing in cmd was C:\Users\myname.
>>>>> Not sure if that matters.
>>>>>
>>>>> So still need some help please
>>>>>
>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>>> LoneWolf I absolutely agree .
>>>>>> Thank You very much Rick
>>>>>>
>>>>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>>>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>>>>> Rick
>>>>>>>
>>>>>>> You never seem to amaze me. Your responses are not only
>>>>>>> correct but, are always polite.
>>>>>>>
>>>>>>> Congrats' mate, you well deserve your MVP +
>>>>>>>
>>>>>>> --
>>>>>>> regards
>>>>>>> CL
>>>>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>>>>
>>>>>>>
>>>>>>> "Rick Rogers" wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> It's not a utility, but a simple command. Click start and type CMD,
>>>>>>>> then hit
>>>>>>>> <enter> to open the prompt. Then run:
>>>>>>>>
>>>>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>>>>
>>>>>>>> "drive:\folder_path" being the folder you want to index, and
>>>>>>>> list.txt being
>>>>>>>> the file name that is created on the desktop. You can use any name
>>>>>>>> you
>>>>>>>> choose. If you want to index protected system folders, before
>>>>>>>> beginning you
>>>>>>>> should right click on the CMD entry in the start menu and use 'run
>>>>>>>> as
>>>>>>>> administrator'.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best of Luck,
>>>>>>>>
>>>>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>>>>> http://mvp.support.microsoft.com/
>>>>>>>> Windows help - www.rickrogers.org
>>>>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>>>>
>>>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>>>>> >A while back, I remember seeing (or was it my imagination) someone
>>>>>>>> >post a
>>>>>>>> >comment about Vista having a built-in utility that would create a
>>>>>>>> >text file
>>>>>>>> >on the desktop that listed the files/folders within a directory.
>>>>>>>> >
>>>>>>>> > If this is true, could someone refresh my memory.
>>>>>>>> >
>>>>>>>> > Thank you
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>
>>>

>>
>>

>
>
 
M

MacArthur

dir /s /o:gn "H:\Vista Software II" >
%userprofile%\desktop\vistasoftware.txt will list a sorted folder list
including all folders, sub folders and files.

dir /o:gn "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
will list a sorted folder list including folders and files. If you only
want the list of folders edit the text file to delete the file names
following the folder names.

--
Live strong and have a nice day, - "Nil carborundum illegitimi"!
Mac H E L P the planet - Don't I D L E ! ! !
Over 1600 Links at Http://MacArthur.Funknstyle.Com
Pictures at http://www.flickr.com/photos/macarthur


"Jerry" <jhuffman@triad.rr.com> wrote in message
news:43B4E5E3-E107-47B6-A022-901C49578331@microsoft.com...
> It worked and created the text file. One more question and I will let it
> be.
> Is there anyway to format what the text file will generate.? Example the
> folder I generated the list for has actually has several folders withing
> it. Can I make it generate only the list of folders within the main folder
> and not the actual list of files?
>
> Hope that makes sense. Thank you.
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:%23$3Iy6GyHHA.3588@TK2MSFTNGP06.phx.gbl...
>> LOL Newsgroups are acting up and now the posts are back except my
>> original. I think I have it now. Thanks MacArthur I will make the change
>> and check it out.
>>
>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>> news:OwbmYpGyHHA.4516@TK2MSFTNGP04.phx.gbl...
>>>I must have missed something in the postings. This reply is the only one
>>>I see now as the original post does NOT show now < removed I guess>. I
>>>still can NOT get the list made and assume I am using the wrong format.
>>>
>>> "Rick Rogers" <rick@mvps.org> wrote in message
>>> news:%23$AyRSByHHA.276@TK2MSFTNGP06.phx.gbl...
>>>> Yep, easy to miss those.
>>>>
>>>> --
>>>> Best of Luck,
>>>>
>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>> http://mvp.support.microsoft.com/
>>>> Windows help - www.rickrogers.org
>>>> My thoughts http://rick-mvp.blogspot.com
>>>>
>>>> "MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
>>>> news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
>>>>> dir /s "H:\Vista Software II" >
>>>>> %userprofile%\desktop\vistasoftware.txt
>>>>>
>>>>> add quotes after II.
>>>>>
>>>>> --
>>>>> Live strong and have a nice day, - "Nil carborundum illegitimi"!
>>>>> Mac H E L P the planet - Don't I D L E ! ! !
>>>>> Over 1600 Links at Http://MacArthur.Funknstyle.Com
>>>>> Pictures at http://www.flickr.com/photos/macarthur
>>>>>
>>>>>
>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>>>>>I must be dense as a rock. I did the search typing in "cmd" and hit
>>>>>>enter and got a prompt.
>>>>>> Then typed in"
>>>>>> dir /s "H:\Vista Software II >%userprofile%\desktop\vistasoftware.txt
>>>>>>
>>>>>> Got this "The filename, directory name, or volume label syntax is
>>>>>> incorrect."
>>>>>>
>>>>>> The directory I want to print the is on H drive and the folder is
>>>>>> Vista Software II <a very simple path and is correct>. I wanted to
>>>>>> name the text file vistasoftware.
>>>>>>
>>>>>> Where did I go wrong ???
>>>>>> btw the prompt when hit enter after typing in cmd was
>>>>>> C:\Users\myname. Not sure if that matters.
>>>>>>
>>>>>> So still need some help please
>>>>>>
>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>>>> LoneWolf I absolutely agree .
>>>>>>> Thank You very much Rick
>>>>>>>
>>>>>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>>>>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>>>>>> Rick
>>>>>>>>
>>>>>>>> You never seem to amaze me. Your responses are not only
>>>>>>>> correct but, are always polite.
>>>>>>>>
>>>>>>>> Congrats' mate, you well deserve your MVP +
>>>>>>>>
>>>>>>>> --
>>>>>>>> regards
>>>>>>>> CL
>>>>>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>>>>>
>>>>>>>>
>>>>>>>> "Rick Rogers" wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> It's not a utility, but a simple command. Click start and type
>>>>>>>>> CMD, then hit
>>>>>>>>> <enter> to open the prompt. Then run:
>>>>>>>>>
>>>>>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>>>>>
>>>>>>>>> "drive:\folder_path" being the folder you want to index, and
>>>>>>>>> list.txt being
>>>>>>>>> the file name that is created on the desktop. You can use any name
>>>>>>>>> you
>>>>>>>>> choose. If you want to index protected system folders, before
>>>>>>>>> beginning you
>>>>>>>>> should right click on the CMD entry in the start menu and use 'run
>>>>>>>>> as
>>>>>>>>> administrator'.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best of Luck,
>>>>>>>>>
>>>>>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>>>>>> http://mvp.support.microsoft.com/
>>>>>>>>> Windows help - www.rickrogers.org
>>>>>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>>>>>
>>>>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>>>>>> >A while back, I remember seeing (or was it my imagination)
>>>>>>>>> >someone post a
>>>>>>>>> >comment about Vista having a built-in utility that would create a
>>>>>>>>> >text file
>>>>>>>>> >on the desktop that listed the files/folders within a directory.
>>>>>>>>> >
>>>>>>>>> > If this is true, could someone refresh my memory.
>>>>>>>>> >
>>>>>>>>> > Thank you
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>

>>
>>

>
 
J

Jerry

Fantastic, ty MacArthur

"MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
news:usn7%23JJyHHA.3724@TK2MSFTNGP06.phx.gbl...
> dir /s /o:gn "H:\Vista Software II" >
> %userprofile%\desktop\vistasoftware.txt will list a sorted folder list
> including all folders, sub folders and files.
>
> dir /o:gn "H:\Vista Software II" > %userprofile%\desktop\vistasoftware.txt
> will list a sorted folder list including folders and files. If you only
> want the list of folders edit the text file to delete the file names
> following the folder names.
>
> --
> Live strong and have a nice day, - "Nil carborundum illegitimi"!
> Mac H E L P the planet - Don't I D L E ! ! !
> Over 1600 Links at Http://MacArthur.Funknstyle.Com
> Pictures at http://www.flickr.com/photos/macarthur
>
>
> "Jerry" <jhuffman@triad.rr.com> wrote in message
> news:43B4E5E3-E107-47B6-A022-901C49578331@microsoft.com...
>> It worked and created the text file. One more question and I will let it
>> be.
>> Is there anyway to format what the text file will generate.? Example the
>> folder I generated the list for has actually has several folders withing
>> it. Can I make it generate only the list of folders within the main
>> folder and not the actual list of files?
>>
>> Hope that makes sense. Thank you.
>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>> news:%23$3Iy6GyHHA.3588@TK2MSFTNGP06.phx.gbl...
>>> LOL Newsgroups are acting up and now the posts are back except my
>>> original. I think I have it now. Thanks MacArthur I will make the
>>> change and check it out.
>>>
>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>> news:OwbmYpGyHHA.4516@TK2MSFTNGP04.phx.gbl...
>>>>I must have missed something in the postings. This reply is the only
>>>>one I see now as the original post does NOT show now < removed I guess>.
>>>>I still can NOT get the list made and assume I am using the wrong
>>>>format.
>>>>
>>>> "Rick Rogers" <rick@mvps.org> wrote in message
>>>> news:%23$AyRSByHHA.276@TK2MSFTNGP06.phx.gbl...
>>>>> Yep, easy to miss those.
>>>>>
>>>>> --
>>>>> Best of Luck,
>>>>>
>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>> http://mvp.support.microsoft.com/
>>>>> Windows help - www.rickrogers.org
>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>
>>>>> "MacArthur" <mymacaddressis4-usenetuse@yahoo.ca> wrote in message
>>>>> news:uBADO8%23xHHA.2172@TK2MSFTNGP06.phx.gbl...
>>>>>> dir /s "H:\Vista Software II" >
>>>>>> %userprofile%\desktop\vistasoftware.txt
>>>>>>
>>>>>> add quotes after II.
>>>>>>
>>>>>> --
>>>>>> Live strong and have a nice day, - "Nil carborundum illegitimi"!
>>>>>> Mac H E L P the planet - Don't I D L E ! ! !
>>>>>> Over 1600 Links at Http://MacArthur.Funknstyle.Com
>>>>>> Pictures at http://www.flickr.com/photos/macarthur
>>>>>>
>>>>>>
>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>> news:%23jJJXm9xHHA.1164@TK2MSFTNGP02.phx.gbl...
>>>>>>>I must be dense as a rock. I did the search typing in "cmd" and hit
>>>>>>>enter and got a prompt.
>>>>>>> Then typed in"
>>>>>>> dir /s "H:\Vista Software II
>>>>>>> >%userprofile%\desktop\vistasoftware.txt
>>>>>>>
>>>>>>> Got this "The filename, directory name, or volume label syntax is
>>>>>>> incorrect."
>>>>>>>
>>>>>>> The directory I want to print the is on H drive and the folder is
>>>>>>> Vista Software II <a very simple path and is correct>. I wanted to
>>>>>>> name the text file vistasoftware.
>>>>>>>
>>>>>>> Where did I go wrong ???
>>>>>>> btw the prompt when hit enter after typing in cmd was
>>>>>>> C:\Users\myname. Not sure if that matters.
>>>>>>>
>>>>>>> So still need some help please
>>>>>>>
>>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>>> news:uxM5$I9xHHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>>>>> LoneWolf I absolutely agree .
>>>>>>>> Thank You very much Rick
>>>>>>>>
>>>>>>>> "LoneWolf" <LoneWolf@discussions.microsoft.com> wrote in message
>>>>>>>> news:C1CC462B-F1F3-49EB-841A-EE49BDF88D8C@microsoft.com...
>>>>>>>>> Rick
>>>>>>>>>
>>>>>>>>> You never seem to amaze me. Your responses are not only
>>>>>>>>> correct but, are always polite.
>>>>>>>>>
>>>>>>>>> Congrats' mate, you well deserve your MVP +
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> regards
>>>>>>>>> CL
>>>>>>>>> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Rick Rogers" wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> It's not a utility, but a simple command. Click start and type
>>>>>>>>>> CMD, then hit
>>>>>>>>>> <enter> to open the prompt. Then run:
>>>>>>>>>>
>>>>>>>>>> dir /s "drive:\folder_path" >%userprofile%\desktop\list.txt
>>>>>>>>>>
>>>>>>>>>> "drive:\folder_path" being the folder you want to index, and
>>>>>>>>>> list.txt being
>>>>>>>>>> the file name that is created on the desktop. You can use any
>>>>>>>>>> name you
>>>>>>>>>> choose. If you want to index protected system folders, before
>>>>>>>>>> beginning you
>>>>>>>>>> should right click on the CMD entry in the start menu and use
>>>>>>>>>> 'run as
>>>>>>>>>> administrator'.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Best of Luck,
>>>>>>>>>>
>>>>>>>>>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>>>>>>>>> http://mvp.support.microsoft.com/
>>>>>>>>>> Windows help - www.rickrogers.org
>>>>>>>>>> My thoughts http://rick-mvp.blogspot.com
>>>>>>>>>>
>>>>>>>>>> "Jerry" <jhuffman@triad.rr.com> wrote in message
>>>>>>>>>> news:uNFgCz4xHHA.4916@TK2MSFTNGP04.phx.gbl...
>>>>>>>>>> >A while back, I remember seeing (or was it my imagination)
>>>>>>>>>> >someone post a
>>>>>>>>>> >comment about Vista having a built-in utility that would create
>>>>>>>>>> >a text file
>>>>>>>>>> >on the desktop that listed the files/folders within a
>>>>>>>>>> >directory.
>>>>>>>>>> >
>>>>>>>>>> > If this is true, could someone refresh my memory.
>>>>>>>>>> >
>>>>>>>>>> > Thank you
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>

>
 
Back
Top Bottom