09/29/2009 2843 views
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.

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

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.
Answered 09/29/2009 by: VBScab
Red Belt