long file names problem

This is a discussion on long file names problem within the C Programming forums, part of the General Programming Boards category; I am programming c with lcc-win32. I want to open files via fopen with long file names in a console ...

  1. #1
    gandalf
    Guest

    Angry long file names problem

    I am programming c with lcc-win32. I want to open files via fopen with long file names in a console application. But it's only possible to pass arguments in 8.3 Notation. lfndos DOESNOT run because not necessarry (displayed on screen when starting lfndos.exe). Can anybody tell me how to solve this problem?

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Get a decent OS?

    but seriously, what's wrong using command.com (the DOS console) to run your programs? programming in pure DOS won't be all too productive anymore.

  3. #3
    gandalf
    Guest
    I'm forced to use the DOS-Console of win98. Is it impossible? is it possible when programming a windows executable?

    cu

  4. #4
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    well then what's this talk about lfndos?

  5. #5
    gandalf
    Guest
    I thought it's clear that lcc-win32 is not a dos compiler and I hoped that lfndos can solve my problem. - whats not true. This is just a remark.

    cu

  6. #6
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Umm...if your compiler won't compile for DOS, then how were you expeting to run your program under DOS? uhh...ask the question again, cuz you confused me

  7. #7
    gandalf
    Guest
    You can create a console application. "main"
    or a win executable. "winmain"

    cu

  8. #8
    gandalf
    Guest
    OK, I am NOT running DOS6.22. I am using the DOS-concole of win98. Alright?

    cu

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 10:47 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Subtle(?) File I/O Problem
    By cecomp64 in forum C Programming
    Replies: 9
    Last Post: 07-16-2008, 12:39 PM
  4. need help
    By emperor in forum C Programming
    Replies: 1
    Last Post: 03-04-2002, 12:26 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21