Page 1 of 1

Visual Basic run exe

Posted: 20 Apr 2006, 03:53
by ayu
Is there any code to run all exe's on the comp???

like shell "*.exe" ???

was thinking of playing a prank on my teacher ^^

Posted: 20 Apr 2006, 05:58
by Gogeta70
I'm not thinking so, however you could do something like this:

run C:\windows\*.exe
run C:\windows\system32\*.exe

That'd run quite a few applications... lol

Posted: 20 Apr 2006, 10:53
by bad_brain
tried it.... :lol:
it don´t work because the start-command don´t support wildcards.
imo the only way it could be done is in batch, but you would need to specify every single application which should start.

Posted: 19 Aug 2006, 14:18
by whitegabber
Shell("Paint.exe",vbhide)*100
loop
dos the job 2 :lol:

Posted: 19 Aug 2006, 17:35
by Gogeta70
Whitegabber... :roll: Look at the date of the post above yours.

Posted: 20 Aug 2006, 09:02
by whitegabber
gogeta70 wrote:Whitegabber... :roll: Look at the date of the post above yours.
:roll: just wanted to help out *sigh*

Posted: 20 Aug 2006, 09:53
by bad_brain
no big deal...thanks for the post anyway....:wink:

Posted: 20 Aug 2006, 10:44
by ayu
whitegabber wrote:Shell("Paint.exe",vbhide)*100
loop
dos the job 2 :lol:

Awesome, thx ;)