NoCrypt/example.c
2023-06-01 00:59:20 +02:00

14 lines
267 B
C

#include <stdio.h>
int main(){
int i;
char origname[20];
char destname[20];
for (i = 0; i < 20; i++) {
sprintf(origname, "test%d", i);
sprintf(destname, "test%d.lockbit", i);
rename(origname, destname);
}
return 0;
}