Search:

Type: Posts; User: JavaPF

Search: Search took 0.12 seconds.

  1. Re: Server Audit

    Hello macquil7, did you get any further with this?
  2. Re: Server Audit

    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 {
  3. Re: Server Audit

    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...
  4. Re: Server Audit

    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....
  5. Re: Server Audit

    Hello macquil7,

    Has this helped at all?
  6. Re: Server Audit

    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...
  7. Re: Server Audit

    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:
    ...
Results 1 to 7 of 7