Hallo,
kann man die Funktion FileExist() (in verbindung mit IF) so steuern, dass sie auch alle Unterordner durchsucht?
Danke.
FileExist() in Unterordnern möglich
Moderator: jNizM
Re: FileExist() in Unterordnern möglich
Code: Select all
fileToLookFor := "hosts"
Loop, Files, C:\Windows\System32\*, R
{
if (A_LoopFileName == fileToLookFor)
{
MsgBox, % Format("Found: {}`nIn: {}", fileToLookFor, A_LoopFileDir)
break
}
}
Who is online
Users browsing this forum: No registered users and 47 guests