Jump to content
Sign in to follow this  
mbkowns

Delete script on close?

Recommended Posts

mbkowns

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

Share this post


Link to post
Share on other sites
BALA

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 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

Share this post


Link to post
Share on other sites
mbkowns

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

I understand that but isn't there a way to do what I am trying here?

Share this post


Link to post
Share on other sites
fisofo

Badda-bing

that topic is very useful btw.

Share this post


Link to post
Share on other sites
fisofo

I don't see what relevance this has, but okay :D

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 :P

Share this post


Link to post
Share on other sites
fisofo

Sorry if I'm sounding clueless, but what script are you talking about? :P

????... the one I linked.... ???? I just checked, it's a vaild link.

Share this post


Link to post
Share on other sites
BALA

oh! that explains how it's relevant! I thought that was your name :D

I gotta get more sleep, I'm starting to see things :P


[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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×