Re: Problem : BrowseForFolder returns "The system cannot find the file specified"
Paul <[email protected]> Tue, 16 Dec 2025 12:05:09 -0500
| Newsgroups | alt.comp.lang.vbscript,alt.comp.os.windows-xp,alt.windows7.general |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On Tue, 12/16/2025 11:54 AM, David E. Ross wrote:
> On 12/16/2025 2:26 AM, R.Wieser wrote:
>> Hello all,
>>
>> XPsp3
>>
>> I have the need to select a file, and found "BrowseFolFolder" should be able
>> to do it.
>>
>> The problem is that no matter the path or the file selected, all I get is a
>> "The system cannot find the file specified" error.
>>
>> The stripped-down example :
>>
>> - - - - - - - - - - - - - -
>> Set shell = CreateObject("Shell.Application")
>> call shell.BrowseForFolder(0, "Choose a file:", &H4000, "c:\")
>> - - - - - - - - - - - - - -
>>
>> I do not see what might be going wrong here. Help ?
>>
>> Regards,
>> Rudy Wieser
>
> Creating your own script is like creating the wheel when it already
> exists. Instead, try the Everything application from
> <https://www.voidtools.com/>.
>
But, you receive fine craftsmanship when you do it yourself :-)
Paul