Jump to content

Map drive with wildcard

Recommended Posts


Hi there!

I have the Problem that i Need to map a folder to a driveletter and I don´t know the full path to that Folder.

I know "\\Server\share\folder1\folder2\folder3\folder4*

The Folder4 Name is something like "1234567890 <some text>".

I know the number but not the text.

so I Need to use:

DriveMapAdd ( "U:", $folder & "*")

How can I do that or how can I find this Folder and get the full path from the hande form FileFindFirstFile?


Thank You!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.