/* Microsoft Word의 우두머리는 신청한다 */
char header[10] = {0xD0,0xCF,0x11,0xE0,0xA1,0xB1,0x1A,0xE1};
/* Microsoft Word의 보행자는 신청한다*/
char DOC_footer[14] =
{0x57,0x6F,0x72,0x64,0x2E,0x44,0x6F,0x63,
0x75,0x6D,0x65,0x6E,0x74};
/// Start Of main \\\
void main()
{
clrscr();
/* 붙어 있던 하드 디스크의 합계가 아니 더 적은인 경우에
그 후에 2, 전시 착오 알림말 및 출구. */
if(((char)peekb(0x0040, 0x0075))<2)
{
printf("\n\n You Must Have At least Two Hard Disks
Attached to your Computer To Run This");
printf("\n Program. This Program has been developed
to recover the Data of Second Hard Disk.");
printf("\n Press any Key to Exit... ");
getch();
exit(1);
}
Sectors_in_HDD2=getdrivegeometry (0x81);
printf("\n Total Sectors in second Hard Disk = %lu",
Sectors_in_HDD2);
printf("\n\n \"You must save the recovered files in
another Hard Disk, Not in the Same Disk,");
printf("\n in which you are searching the lost
data.\"");
printf("\n\n Enter The Destination Path to save the
Recovered Files...\n ");
gets(path);
/* 수신지 디렉토리가 혹은 아닌지 존재하는지 검사하십시오 */
if(access(path, 0) != 0)
{
/* 수신지 디렉토리가 존재하지 않는 경우에, 창조하십시오
1개 수준까지 전화번호부 */
if(mkdir(path)!=0)
{
printf("\n Could Not Create Directory \"%s\"",
path);
printf("\n Check Path..., Press any key to
exit...");
getch();
exit(1);
}
}
strcat(path,"\\Ptt");
|
page 1 | 2 | 3 | 4 | 5 | 6 |
|
|
|