FileDocCategorySizeDatePackage
ExecDemoRm.javaAPI DocExample351Sun Apr 22 17:16:24 BST 2001None

ExecDemoRm

public class ExecDemoRm extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		for (int i=0; i<10; i++) {
			new File("/tmp/ww" + i).createNewFile();
		}
		Runtime.getRuntime().exec("ls -l /tmp/ww? > /tmp/report");
		Runtime.getRuntime().exec("rm -f /tmp/ww?");