Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi
can you help me how to lock certain folder or files that you cant delete, rename or edit? im using Visual basic and turbo c and Borland c++. is it posible on real time scanning and protecting folder and file just like other antivirus did? can you give me some site on how to make it? please help me.
thanx and God bless

you cannot lock certain folder in windows, why not try dos? in the old days. try to rename the folder, its the very easiest to do. if you are using c++, try this.
#include
#include
#includemain()
{
char folder[30];
char newfolder[30];
strcpy(newfolder,"new_"); /*underscore*/
/* means alt 255*/
printf("what folder to be lock? ");
gets(folder);
if(rename(folder,newfolder)!= 0)
{
printf("locking file error");
}
getch() /*means pause*/
return 0;
}
you can try lock trough realtime scan but its very hard to use, maybe you can damage the registry. i advice you not to try it. you can try it if you are expert in using the registry.you can visit my site or email me for more details.
franconeil.cjb.net

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |