Wild cards in filepatterns

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
snowbird30ds
Posts: 3
Joined: 15 Feb 2018, 10:52

Wild cards in filepatterns

20 Feb 2018, 07:33

Would a wildcard work as the drive letter part of a filepattern if the rest is specified ie.

Code: Select all

*:\documents\*.jpg
I'm thinking of removeable drives getting assigned different letters when other things are plugged in.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Wild cards in filepatterns

20 Feb 2018, 07:47

What about to use an UNCpath instead :?:
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Wild cards in filepatterns

20 Feb 2018, 13:32

- AFAIK and based on tests I just did, wildcards can only be used on the last part in a File loop.
- I couldn't find an explicit mention of this here:
Loop (files & folders)
https://autohotkey.com/docs/commands/LoopFile.htm
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], mebelantikjaya and 293 guests