Skip to content

Need help with correct code #85

@GitUser200607

Description

@GitUser200607

I have code in PowerShell:
$Path = "C:\Program Files\Unity\????.?.*f1\Editor\unity.exe
$filesList = Get-ChildItem -Path $Path -Force -Recurse

How can I find all files unity.exe using this path with wildcards?

This code found nothing:
string[] matchingFiles = Glob.Files(@"C:\", @"Program Files\Unity\????.?.*f1\Editor\unity.exe").ToArray();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions