You are here

.BAT files and Menu Customization

3 posts / 0 new
Last post
xlegs
Offline
Last seen: 12 years 11 months ago
Joined: 2008-05-17 11:59
.BAT files and Menu Customization

I am utilizing a trick that automatically opens certain apps during autoplay. I point autorun.inf to a batch file and it does the trick. I open up my Hottnotes (sticky notes) and DexposE2 (Mac Expose Clone). They both run through the system tray, but it is annoying to close the menu and the other apps individually. Is there any way to point the close function on the PortableApps Menu to a batch file witch will close all these apps in one swoop? I also need help in actually writing the batch file, because I don't know how to kill processes from a batch file. Any help?

Thanks

[bump deleted by moderator JTH]

digitxp
digitxp's picture
Offline
Last seen: 11 years 4 months ago
Joined: 2007-11-03 18:33
Hm...

I think NSIS would work better.
But there is a close/kill solution from a while back. Just search: close/kill all processes . There should be a topic with a batch in it.

Insert original signature here with Greasemonkey Script.

kai.inouye
kai.inouye's picture
Offline
Last seen: 11 years 1 month ago
Developer
Joined: 2008-02-03 20:12
to kill processes from a batch file

Well, to kill processes from a batch file you need to put tskill * for xp and taskkill /IM:* for vista. put your process name instead of "*".
Don't put *.exe for xp

examples:
tskill processes
taskkill /IM:processes.exe

(I kinda like to write batch files.)

Log in or register to post comments