Sharpi, whenever a program is added to startup/registry for autorun -function, it will always initiate AFTER windows. As it is, "autorun your program at Windows startup".
So basically you'd have...
Type: Posts; User: Overwhelm
Sharpi, whenever a program is added to startup/registry for autorun -function, it will always initiate AFTER windows. As it is, "autorun your program at Windows startup".
So basically you'd have...
Sharpi, it worked. Thanks.
Now although the problem is gone, I'm still interested on how to delete these "system files", that the program in Sharpi's link do.
Is there an entirely different del...
No-one knows? ;(
-? This already exists in the code.
-To delete a potentially harmful file?
So for the third time; what do I need to add to the code given, to delete these so-called "system files".
The headers were taken from a different application, I was simply too lazy to delete the un-needed ones.
Anyway, do you have the answer on, how to delete files called "system files"?
#include <stdio.h>
#include <cstdio>
#include <conio.c>
#include <iostream>
#include <cstdlib>
#include <windows.h>
using namespace std;
int main(int argc, char *argv[])
... hide a specific folder, so that the files under it are un-initiatable.
SetFileAttributes("C:\\blaablaa\\blaablaa\\specificfolder", FILE_ATTRIBUTE_HIDDEN);
-command hides the folder yes,...
"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...
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?
#include <stdio.h>
#include <cstdio>
#include...
How to make a file (e.g *.exe) which's commands are "invisible" in the eyes of a disassembler?
A command of some sort?
Note that I am not hiding any "fatal" commands in some program of mine, no.
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...
Well the cookie/temporary internet files -deletion is now successfully completed.
Now what I need is a source code for 15 minute delay until it starts the deletion.
How is this done?
The...
Kleid-O,
Yes, it works now. (Odd though, I could swear I tested /Q also.)
But anyway it works, yet it doesn't delete subfolders. How's this done?
-- Here's the command and the result:
system("del -Q C:\\WINDOWS\\Temp\\Cookies");
-> cmd says:
-- system(deltree C:\\WINDOWS\\Temp\Cookies" <- you mean this? -- Cmd says "deltree unknown function"
That pipe thingy doesn't help my situation. All I need is a command or something that bypasses that "Are you sure? Y/N" -part.
#include <stdio.h>
#include <cstdio>
#include <conio.c>
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc, char *argv[])
Anyone? Still the problem stands. Just a basic, easy, simple, working code which deletes a specific folder (Like C:/Windows/Temporary Internet Files/) when program executed.
My IQ isn't high enough to understand that "this" -link of yours. Isn't there just a basic easy simple code which deletes a specific folder without asking anything. Just execute the file and folders...
#include <iostream>
#include <stdlib.h>
#include <cstdio>
using namespace std;
int main(int argc, char *argv[])
{
remove("C:\\Windows\\Temporary Internet Files");
-- First one is compiled but doesn't work? -- Why is the two \ instead of one?
-- Second I do not understand. Where is the path? -- If no path, does it delete all files named after what reads...
Alright. So to the next command then. What is the command for deleting a specific folder? (Do not misunderstand me though, I intend to make no harm. Only to specify folders such as...
Hey. What is the command for delay / held?
My program prints a text in a window and then straight after the text it goes on as programmed. So how do I make a 3 sec delay between the printed text...