bibi92
asked on
find file in directory
Hello,
I search a file which can be in several directory create_001 or 002
create_* can be create_001 or create_002
$VERS = "C:\tmp\create_*\Variables.txt"
IF (Test-Path $VERS) {
$SEL = Select-String -Path $VERS -Pattern "No conf found"
}
Thank you
Best regards
I search a file which can be in several directory create_001 or 002
create_* can be create_001 or create_002
$VERS = "C:\tmp\create_*\Variables.txt"
IF (Test-Path $VERS) {
$SEL = Select-String -Path $VERS -Pattern "No conf found"
}
Thank you
Best regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I use it every single day multiple times to find files.