Thanks for your attention, so i hope that this topic gonna help somebody one day 'cause i found a little code :
int Refresh() {
char NewLogName[30];
time_t rawtime;
struct tm * timeinfo;
time ( &rawtime );
timeinfo = localtime ( &rawtime );
char s[100];
strftime(s,30," %b.%d.%Y.%H.%M. %S.txt",timeinf o);...
User Profile
Collapse
-
Del *.txt
Hi, everybody know the commande del *.dll, when we were younger we used to creat this little virus to delete all .dll files and save it to .bat
what I want to do is to use this commande in C/C++
For Example : I want to write a fonction that delete all files .txt in my file C:\Text\
If Some One have any advice you'll be welcome, thank you in advance. -
How to rename file to date name's ?
Hi EveryOne I need somebody to help me for creating a little fonction that can do this :
For Example : The file "C:\Coco.tx t" will be renamed to : "2009-09-12-03h-12min-35sec" i think it's possible.
have a nice day
thank you, best regards.
No activity results to display
Show More
Leave a comment: