Re: [Freedos-user] LFN Support in DOS4GW Environment

2020-08-04 Thread Anand Venkatesan
Thanks for your response. I tried adding the LFN macro however I still only have a short file name created in the hard disk. File: #define __WATCOM_LFN__ #include void main(void) { FILE *fptr = fopen("e:\\aerosystems.txt", "w"); fprintf(fptr, "Genesys\n"); fclose(fptr); } // E

Re: [Freedos-user] LFN Support in DOS4GW Environment

2020-08-04 Thread TK Chia
Hello Anand, I wrote a small program in C to create a file with a long file name as follows. void main(void) { FILE *fptr = fopen("e:\\aerosystems.txt", "w"); fprintf(fptr, "Genesys\n"); fclose(fptr); } // END main() And then I compiled using the Watcom compiler: It seems

[Freedos-user] LFN Support in DOS4GW Environment

2020-08-04 Thread Anand Venkatesan
Hi All, I'm using FreeDOS with a DOSLFN driver loaded through autoexec.bat. The harddisk is formatted with a FAT32 single partition. I wrote a small program in C to create a file with a long file name as follows. void main(void) { FILE *fptr = fopen("e:\\aerosystems.txt", "w"); fprintf