Hi,
I use VBScript to run the tree command (WXP Sp2) and collect its
output. Is there any way to force it to include hidden folders? Or
is there a scripting way to unhide hidden folders?

I'm particularly interested in the hidden folders within the
'Temporary Internet Files' folder. For testing purposes, I copied the
folder structure to another folder using:
C:\Documents and Settings\Paul\Local Settings\Temporary Internet
Files>xcopy /t /h /e *.* h:\dummy

This gives me the folder structure I'm interested in, but the folders
are all hidden, and even the empty folders have the hidden attribute
grayed out in the properties window, so I can't unhide them manually.
And the tree command does not see them.

Thanks for any help you can give me.

-Paul Randall

Re: Scripting the Tree command and hidden folders by ekkehard

ekkehard
Fri Feb 01 14:17:38 CST 2008

Paul Randall schrieb:
> Hi,
> I use VBScript to run the tree command (WXP Sp2) and collect its
> output. Is there any way to force it to include hidden folders? Or
> is there a scripting way to unhide hidden folders?
>
> I'm particularly interested in the hidden folders within the
> 'Temporary Internet Files' folder. For testing purposes, I copied the
> folder structure to another folder using:
> C:\Documents and Settings\Paul\Local Settings\Temporary Internet
> Files>xcopy /t /h /e *.* h:\dummy
>
> This gives me the folder structure I'm interested in, but the folders
> are all hidden, and even the empty folders have the hidden attribute
> grayed out in the properties window, so I can't unhide them manually.
> And the tree command does not see them.
[...]
Using "attrib -S -H /S /D" on the *copy* worked for me (YMMV).

Re: Scripting the Tree command and hidden folders by Paul

Paul
Fri Feb 01 17:16:28 CST 2008


"ekkehard.horner" <ekkehard.horner@arcor.de> wrote in message
news:47a37e63$0$5952$9b4e6d93@newsspool3.arcor-online.net...
> Paul Randall schrieb:
>> Hi,
>> I use VBScript to run the tree command (WXP Sp2) and collect its
>> output. Is there any way to force it to include hidden folders?
>> Or
>> is there a scripting way to unhide hidden folders?
>>
>> I'm particularly interested in the hidden folders within the
>> 'Temporary Internet Files' folder. For testing purposes, I copied
>> the
>> folder structure to another folder using:
>> C:\Documents and Settings\Paul\Local Settings\Temporary Internet
>> Files>xcopy /t /h /e *.* h:\dummy
>>
>> This gives me the folder structure I'm interested in, but the
>> folders
>> are all hidden, and even the empty folders have the hidden
>> attribute
>> grayed out in the properties window, so I can't unhide them
>> manually.
>> And the tree command does not see them.
> [...]
> Using "attrib -S -H /S /D" on the *copy* worked for me (YMMV).

Thank you, ekkehard

It worked for me too.

-Paul Randall