I want to list all the file and write the list to a .txt file by using Runtime from Java. And I did this :
File workDir = new File("/home/name/ghost/");
String cmd = "ls -l > data.txt";...
Type: Posts; User: silentbang
I want to list all the file and write the list to a .txt file by using Runtime from Java. And I did this :
File workDir = new File("/home/name/ghost/");
String cmd = "ls -l > data.txt";...