/build/static/layout/Breadcrumb_cap_w.png

Script to search file and retrieve it's size

Hi All,
I have difficulty in VBScript.
I tried to make a script to search .dbx file under C:\Documents and Settings\...
And retrieve it's size.
It's good if that script can write that information into registry.

Thanks

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 14 years ago
Red Belt
0
There are many, many examples of file-searching scripts around. You'll also find plenty which write data to the registry. Start at http://www.computerperformance.co.uk

BTW, I would avoid hard-coding the path to the profile folder (C:\Documents and Settings), as that ties your script to one OS i.e. XP - Vista uses 'C:\Users'. The safest option is to retrieve the relevant environment variable and set a variable with its content. Again, there are innumerable examples around.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ