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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja