Oh, lots of replies here
I'm trying to streamline the process of copying over files to a computer and running it using a batch file, but for what ever reason WhileIdle.exe will not run unless done directly. Anyone know whats the cause?
I noticed a bug while installing this at a friends house that might cause this.
I think I forgot to set the programs "current directory"/"start from directory" to the directory of the application, or something like that, so if the program is launched from another directory, things might get wonky. At least I think that's the issue.
I registered only to tell you HOW AWESOME YOU ARE
I've been searching all day for stealth/hidden/invisible batch stuff. None worked... Lots of scripts and shit, but didnt work.
Yours is so easy and works PERFECT!
CREDITS TO YOU MAN!!!
THANKS ALOT
I did the same as you until I finally thought... "What the fuck am I doing spending so much time on this? How hard can it be to program? I AM a programmer after all..."
I ended up spending more time googling a solution that suited me than I did programming this. Nuff said.
this is awesome! However, i want to run your whileidle as a service
As far as i know, normal applications cannot be run as services just like that. You will need to code it as a service, which is slightly different. I currently have no plans myself to do this, but someone else might be able to do that for you.
Finally i just wanted to say that i just coded this to suit my own needs, and posted it here in case someone else had the same needs. I currently have no plans to further develop this. (except perhaps fix that directory-bug for my friend). But hey, you never know. I might get bored one week-end and do some more additions.