- Monday, May 25, 2009, 14:23
- Java
- 4,309 views
The basic part is very easy. To do this, we will use the Runtime’s exec method. The code would be like:
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("ping localhost");
The command (I’ve used “ping localhost” ) can be anything that your command prompt recognizes. It will vary on UNIX and Windows environment.
Now comes the bit where you would ...
Full story
- Saturday, May 9, 2009, 3:32
- General
- 78 views
Windows of this era provide a feature that by default hides extensions of files. They choose to display the filename alone – minus the extension.
This “feature”, as per Microsoft, is supposed to “reduce clutter in folder windows”.
It cropped up first in XP and was added in all subsequent versions including Vista as well as the upcoming Windows 7.
Many of you who store a ton of ...
Full story