the {1} or {2} refers to the index of a wildcard and can be used to retrieve the value that was selected by the wildcard.
https://isboxer.com/wiki/Virtual_FilesSo if for example you had a (contrived and overly long) virtual file of
- Code:
*/Users/*/AppData/*/CCP/EVE/*/settings_Default/core_user_??*.dat
then this would match the following path
- Code:
C:\Users\AltBob\AppData\Local\CCP\EVE\d_games_eve_sharedcache_tq_tranquility\settings_Default\core_user_134211111.dat
and I would end up with 7 indexed variables
{1} = c:\
{2} = AltBob
{3} = Local
{4} = d_games_eve_sharedcache_tq_tranquility
{5} = 1
{6} = 3
{7} = 4211111
For the most part we just make it simple and match on something not so complicated
so you get
{1} = C:\Users\AltBob\AppData\Local\CCP\EVE\d_games_eve_sharedcache_tq_tranquility\settings_Default
{2} = 1
{3} = 3
{4} = 4211111
Note, the 2 ? selectors are to differentiate the user specific file core_user_134211111.dat from the core_user__.dat file. As in after the text "core_user_" fixed text we expect there to be at least 2+ characters before we get to the ".dat" fixed text.
and using a virtualise As setting of
would then redirect that character from this file
C:\Users\AltBob\AppData\Local\CCP\EVE\d_games_eve_sharedcache_tq_tranquility\settings_Default\core_user_134211111.dat
to instead use this file
C:\Users\AltBob\AppData\Local\CCP\EVE\d_games_eve_sharedcache_tq_tranquility\settings_Default\Mains_User.dat