General discussion

Locked

Unable to open files with long extension

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 <file>, 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

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Unable to open files with long extension

by GWB In reply to Unable to open files with ...

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!

Collapse -

Unable to open files with long extension

by mukul_gandhi In reply to Unable to open files with ...
Collapse -

Unable to open files with long extension

by -Q-240248 In reply to Unable to open files with ...

Use quaotations..ie..EDIT "LONGFILENAME.LONGEXT"

Collapse -

Unable to open files with long extension

by mukul_gandhi In reply to Unable to open files with ...
Collapse -

Unable to open files with long extension

by Aaron V In reply to Unable to open files with ...

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.

Collapse -

Unable to open files with long extension

by mukul_gandhi In reply to Unable to open files with ...
Back to Windows Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums