Jump to content
UBot Underground

Recommended Posts

Yes, a few ways, but here is one.

comment("creates some test files")
save to file("{$special folder("Desktop")}\\one.csv","test,one,two, three")
save to file("{$special folder("Desktop")}\\two.csv","test,one,two, three")
save to file("{$special folder("Desktop")}\\one.txt","test,one,two, three")
comment("loads desktop files")
clear list(%desktop files)
add list to list(%desktop files,$get files($special folder("Desktop"),"Yes"),"Delete","Global")
clear list(%csv files)
loop($list total(%desktop files)) {
    set(#NLI,$next list item(%desktop files),"Global")
    comment("checks file extension")
    if($contains(#NLI,".csv")) {
        then {
            add item to list(%csv files,#NLI,"Don\'t Delete","Global")


checks for csv.ubot

Link to post
Share on other sites
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...