slogan
03-11-2008, 01:35 AM
Hi Alain,
What is the way to create the folder, where I'd like to store or change a file?
I have something like this, but it doesn't work that way:
-------------------------
ToDay%=GetDate;
Date_extention%=Date2code(ToDay%);
File_location%= "\\My Documents\\"+Date_extention%+"\\";
File_path$=File_location%+File_Name%+".txt";
fp$ = fopen(File_path$, "w");
//do write some data into the file
fclose(fp$);
-------------------------
GetDate is my own func, which returns the date in "xx.xx.xx" format.
Date2code removes points from date, so it becomes "xxxxxx".
thanks for advise!
Slogan
What is the way to create the folder, where I'd like to store or change a file?
I have something like this, but it doesn't work that way:
-------------------------
ToDay%=GetDate;
Date_extention%=Date2code(ToDay%);
File_location%= "\\My Documents\\"+Date_extention%+"\\";
File_path$=File_location%+File_Name%+".txt";
fp$ = fopen(File_path$, "w");
//do write some data into the file
fclose(fp$);
-------------------------
GetDate is my own func, which returns the date in "xx.xx.xx" format.
Date2code removes points from date, so it becomes "xxxxxx".
thanks for advise!
Slogan