General discussion

  • Creator
    Topic
  • #2074556

    Unable to open files with long extension

    Locked

    by mukul_gandhi ·

    I am using NT Server 4.0 . When I go to dos command line with start/run/cmd, and try to open some file using c:\edit , I can’t do this if file name extension is > 3 characters. How do I set command line to accept long file extensions ? I wouldlike to know the soln for NT and 98/95.

    regards
    -mukul

All Comments

  • Author
    Replies
    • #3778529

      Unable to open files with long extension

      by gwb ·

      In reply to Unable to open files with long extension

      try using DIR /X on the directory containing the file you want to edit, this will display the 8dot3 format for the filename.
      example: DIR /X LONG*.*

      will show LONGFI~1.LON longfilename.longext

      now use “EDIT LONGFI~1.LON” to open the file (note also that the ‘long’ filename will be preserved when you edit/save the file)

      good luck!

    • #3778483

      Unable to open files with long extension

      by Anonymous ·

      In reply to Unable to open files with long extension

      Use quaotations..ie..EDIT “LONGFILENAME.LONGEXT”

    • #3778361

      Unable to open files with long extension

      by aaron v ·

      In reply to Unable to open files with long extension

      I like to use VI. I have used several VI clones that handle long file names very well. I have used LEMMY and VIM. Note: Use underscores or dashes in your file names, as some applications, like edit, really do not get along well with spaces in filenames.

Viewing 2 reply threads