From: Mr S. D. <sim...@ya...> - 2006-12-16 15:49:10
|
Needs work, but here's a simple DOS batch to open a named colinux service console. (Useful when you're running multiple colinux instances.) Save it to whatever file you want to call it, with the extension .bat, then pass the console type as the first argument (nt or fltk) and the name of the service instance as the second argument. The script relies on the tasklist utility, but I've no idea if this is installed on anything other than XP Pro by default. Usage: ---8X--- @echo off @for /F "tokens=1,2" %%i in ('tasklist /NH /FI "SERVICES eq %2"') do colinux-console-%1.exe -a %%j ---8X--- ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html |