Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Searching for folder
#1
Hello,

Someone most likely already asked this or i am just thinking too hard about it. I want to search for a file that is placed on my desktop, and if i find the file delete it. What i have so far is
Code:
Copy      Help
str file "$desktop$\Testing"
;;Was using savedData.getfile(file); err
;;But I realized that was wrong because .getfile reads the data inside the file
;;Was also thinking of something like
if file=file
,out "There is a file"
,del file
else
,out "No such file"

any advice would be grateful

Thank you


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)