Sunday, April 29, 2012

Script for executing a program from windows command line


I. First set the path of the given executable home folder

SET <X VAR>=<PATH>

SET JBOSS_HOME=C:/JBOSS

II. Issue the command for executing from the shell

START cmd /C <Shell Command>

eg:
START cmd /C %JBOSS_HOME%/bin/run -c node2 -b x.y.z.a -g qaserverdomain

Saturday, April 7, 2012

Rectify an issue when Airport stops working in Snow Leopard

1. Check the /var/log/system.log to see if this problem is because of a new program or updated software. See the list of daemons executing just before airport daemon startup.
2. If this problem is because of bluetooth daemons, stop the launch of bluetooth daemon by unloading the same -
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist