Hello macquil7, did you get any further with this?
Type: Posts; User: JavaPF
Hello macquil7, did you get any further with this?
I have made a small edit here to include the folders as well:
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class ServerAudit {
String path = "c:\\Program Files"; should list all the files in that directory. Is this not the case?
So you also want this to list folders as well as files and also check each folder in the given...
When you run this application, the date and time stamp is written into the log file with the other information. When the log file is generated & saved the date is also included in the log files name....
Hello macquil7,
Has this helped at all?
Hello macquil7,
Sure, I can help you get started. I have written this code for you..
This application will list all the files in a given directory and write the results to a dated log file. For...
Hello macquil7 and welcome to the Java Programming Forums :D
Yes this is possible. We have some code snippets in our tips & tutorials forum that may help you:
...