eHrgo Posted November 30, 2006 Posted November 30, 2006 (edited) Hi, I created a program [Copy.exe] to move few files from the ScriptDir to a specified Directory after this operation, i wan this directory to be clean of thos 6 files..... but i have a problem, the program Copy.exe can't be remove by putting: FileDelete ( @ScriptDir & "/Copy.exe" ) For sure, it dont work..... how can i do that? [The Script Directory isnt known]. Thanks a lot. Edited November 30, 2006 by eHrgo Sorry for my Bad English.
MHz Posted November 30, 2006 Posted November 30, 2006 Welcome,Have a look at the forum sticky topics. Q 12.
Joon Posted November 30, 2006 Posted November 30, 2006 Also, it's good practices not to name your program same as Command.com's internal command.Wikipedia - Internal Command
eHrgo Posted November 30, 2006 Author Posted November 30, 2006 Joon: Thanks for the advice, but my program isn't name "copy.exe" it was just an example MhZ: Wow nice code, im trying to understand why it is so difficult Thanks Sorry for my Bad English.
mikehunt114 Posted November 30, 2006 Posted November 30, 2006 Isn't there a SelfDelete function? IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
Developers Jos Posted November 30, 2006 Developers Posted November 30, 2006 mikehunt114 said: Isn't there a SelfDelete function?..... no comment ..... MHz said: Welcome,Have a look at the forum sticky topics. Q 12. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
mikehunt114 Posted November 30, 2006 Posted November 30, 2006 (edited) JdeB said: ..... no comment ..... Edit: I meant a predefined SelfDelete function, it pops up in Scite syntax? Edited November 30, 2006 by mikehunt114 IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
MHz Posted December 1, 2006 Posted December 1, 2006 mikehunt114 said: Edit: I meant a predefined SelfDelete function, it pops up in Scite syntax?Yes, If you type SelfDelete and then <space key> into Scite4AutoIt3. If you search the Scite help file for SelfDelete then you will find a match to the function. If you searched the forum, then you would find a match.My reply was based on the user posting in support without checking the sticky topics 1st, so my reference was the recognition of the sticky topic. That reply seemed suitable without the concern of which editor the person uses.
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