Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If a folder is not empty, do something
#2
Try this function

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

Function IsFileExist
Code:
Copy      Help
function# str'file

lpstr s=dir(_s.expandpath(file))
if(s=0) ret 0
ret 1


Messages In This Thread
RE: If a folder is not empty, do something - by Start_Learning - 07-16-2018, 02:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)