Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If a folder is not empty, do something
#1
I was not able to create a function with this condition. I tried the following code:

if(FileExists("$user profile$\01\*.*"))
    ReplaceToolbarButtonText 0 "Not empty" "File Explorer toolbar"

It works if I refer to some specific file, but it does not work if I use asterisks to refer to any kind of file, as I did in the above code.


Messages In This Thread
If a folder is not empty, do something - by don_AC64 - 07-15-2018, 08:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)