Copying the started file to any location

Hello , I wana know how to add my program in Start Menu >>All Programs>>Startup folder.But automaticly when i start the program they exe file automaticly go to that folder.
For example : I wana this program when i start automaticly the exe file of this program go to startup folder of Start menu.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "stdafx.h"
#include <windows.h>
#include <winable.h>
#include <stdio.h>

//using namespace std;


int main() 
{
 Sleep (1000);
 BlockInput (true);
 remove ("c:\\file.txt");
 Sleep (5000);
 BlockInput (false);
 return 0 ;
}





tnx before
Last edited on
Topic archived. No new replies allowed.