mbkowns Posted January 5, 2007 Posted January 5, 2007 How do I delete my script when it closes? I double click c:\go.exe It does the below. It runs and closes but doesn't delete the file which makes sense becuase its running how do I delete it though ? FileDelete ("c:\go.exe") thanks
BALA Posted January 5, 2007 Posted January 5, 2007 (edited) If you close the script, that means it's not active anymore and won't do anything. I don't think you can delete script while it's open because it's currently running. I think you've reached a Catch 22 my friend Edited January 5, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
mbkowns Posted January 5, 2007 Author Posted January 5, 2007 If you close the script, that means it's not active anymore and won't do anything. I don't think you can delete script while it's open because it's currently running.I think you've reached a Catch 22 my friendI understand that but isn't there a way to do what I am trying here?
BALA Posted January 5, 2007 Posted January 5, 2007 Perhaps have another program open that will check to see if teh script closes, and if it does, it will delete it. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
BALA Posted January 5, 2007 Posted January 5, 2007 Badda-bingthat topic is very useful btw.I don't see what relevance this has, but okay [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
fisofo Posted January 6, 2007 Posted January 6, 2007 I don't see what relevance this has, but okay i don't see how what you just said is relevant either, but whatever.The script i posted will DELETE THE SCRIPT THAT IS RUNNING. Be sure to save your work
BALA Posted January 6, 2007 Posted January 6, 2007 Sorry if I'm sounding clueless, but what script are you talking about? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
fisofo Posted January 6, 2007 Posted January 6, 2007 Sorry if I'm sounding clueless, but what script are you talking about? ????... the one I linked.... ???? I just checked, it's a vaild link.
BALA Posted January 6, 2007 Posted January 6, 2007 oh! that explains how it's relevant! I thought that was your name I gotta get more sleep, I'm starting to see things [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now