AutoHotkey Community

It is currently May 27th, 2012, 1:02 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: November 17th, 2007, 8:21 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
ira wrote:
I do not understand how to embed your other code segment with the DLL.
If by "other code segment" you mean DeleteOnReboot(); as I said, I was suggesting it as an alternative to running a batch file on startup. All that is required is:
Code:
DeleteOnReboot("filename")
Windows will delete the file next time Windows starts up.

Btw, if you know the name of the batch file, you don't need to use %0 (though it might be more convenient.) %0 expands to whatever was used to launch the .bat file, up to (but not including) the first command-line arg (which is %1.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 16th, 2008, 6:23 pm 
Offline

Joined: June 19th, 2007, 12:04 am
Posts: 174
You guys will want to find a way to make the.bat to be the first item to run on the reboot.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, sks and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group