folder protection sofwatre

folder protection sofwatre - ,p printf Sheet1 Page 2...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 #include<stdio.h> #include<string.h> #include<process.h> void main() { FILE *p char ch,s[100] char r[100]="REN " char u[]=".{21EC2020-3AEA-1069-A2DD-08002B30309D} " char v[50] int choice,i clrscr() p=fopen("C:\a.bat","w+") if(p==NULL) { printf(" Error in opening the file a.c Deepesh's Folder Obscure") printf(" File and Folder protection software in C By Deepesh Jain") printf(" This software can convert your File/Folder to Control Panel and can Restore again.") printf(" Enter the path of the file data Enter choice :") printf(" 1.Protect Folder/File") printf(" 2.Unprotect folder/File") ); exit(0); } printf( ); fflush(stdin); gets(s); for(i=0;i<25;i++) fputs(echo This software is not responsible for any loss in
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ,p); printf( Sheet1 Page 2 printf(" 3.Exit Enter new name of your folder/file Enter new name of your folder/file echo This software is not responsible for any loss in data exit",p) } fclose(p) system("C:\a.bat") remove("C:\a.bat") } ); scanf(%d",&choice) ); fflush(stdin); gets(v); strcat(r, ") ); fflush(stdin); gets(v); strcat(r,v); break; default: fclose(p); remove(C:\a.bat") ,p); fputs( Sheet1 Page 3 Sheet1 Page 4 i<25 switch(choice) { case 1: strcat(r,s) printf(" strcat(r,v) strcat(r,u) brea case 2: strcat(r,s) strcat(r,u exit(0) } { fputs(r,p) for(i=0 i++) fputs(" Sheet1 Page 5 Sheet1 Page 6 printf("...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern