Bill,

put "The original name" into originalFileName
send "deleteFile originalFileName" to me in 20 secs

on deleteFile originalFileName
  delete file "Folder/temp/" & originalFileName
end deleteFile


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html

On 10 mei 2010, at 22:19, Bill Vlahos wrote:

I want to delete a file on disk but not do it immediately. If I just issue the "delete file..." command it works right away.
delete file "Folder/temp/" & originalFileName  -- Works

How do I issue the command to delete it in 20 seconds? If I issue the following it gets a compiler error "missing a comma near the to". send delete file "Folder/temp/" & originalFileName to this stack in 20 seconds -- Gets a compiler error

Bill Vlahos


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to