Thread: A small issue.

  1. #31
    Registered User
    Join Date
    Jan 2005
    Posts
    23
    The 15 minute delay is well, a part of the original project (the program is a project to school), which would autorun at windows startup (done this), and does temporary internet files & cookie deletion every 15 minute (infinite/continous sleep, which I am capable of doing). So I need the 15 minute sleep command.

    Edit:

    --> So the program goes to every computer in my school, since there is users who goes to sites which leaves tracking cookies and malicious temp files. Perhaps now you understand my view.
    Last edited by Overwhelm; 01-18-2005 at 11:57 AM.

  2. #32
    Registered User
    Join Date
    Jan 2005
    Posts
    23
    Yet another question:

    Each time the program deletes a file, it writes the deleted file in the Command Promt, how to make this go away?

    Code:
    #include <stdio.h>
    #include <cstdio>
    #include <conio.c>
    #include <iostream>
    #include <cstdlib>
     
    using namespace std;
    
    int main(int argc, char *argv[])
    
    
    
    {
    
          system("del /Q /R C:\\WINDOWS\\TEMP\\Temporary Internet Files");
          system("del /Q /R C:\\WINDOWS\\TEMP\\Cookies");
                                  
    
    
      getche();
      return 0;
    }

  3. #33
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    You seriously need to start backing some of this up. You want to know how to delete directories in mass, you want to have a long, untrackable, pause, and (in another thread) you want to hide the instructions of your program, and you want this all to be completely invisible to the user? I don't believe this is an assignment, otherwise you would've been prepared better.

  4. #34
    Registered User
    Join Date
    Jan 2005
    Posts
    23
    "I don't believe this is an assignment"

    - Assignment is completed by that code. It's actually better to see what are deleted.

    But invisibility for disassembler and hiding deleted files are just extra, to increase knowledge in the whole programming. Advancing step by step, from command to another.

  5. #35
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    If it was an assignment, you would've been a LOT better prepared to do it than this. You would've been given more guidelines so that you wouldn't be accepting quick and dirty solutions like the ones we've been giving you.

  6. #36
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    I'd love to see what school is asking you to delete files from their PCs.

    Be sure to point out things like course number, professor e-mail, and the assignment posted online, if you could.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. float calculation issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-26-2008, 04:56 AM
  2. Small Logic Issue
    By Flakster in forum C++ Programming
    Replies: 5
    Last Post: 05-29-2006, 02:40 PM
  3. Newb With Small Pointer Issue
    By G-Prime in forum C Programming
    Replies: 7
    Last Post: 09-06-2004, 04:09 PM
  4. help with small program. array issue
    By InvariantLoop in forum C++ Programming
    Replies: 2
    Last Post: 04-09-2004, 12:26 PM
  5. Small issue with system()
    By Metal Man in forum C++ Programming
    Replies: 8
    Last Post: 10-21-2003, 01:33 PM