LFN max. length in 4DOS?

  • From: "Carl Distefano" <cld@xxxxxxxxxx>
  • To: xywrite@xxxxxxxxxxxxx
  • Date: Wed, 15 Jun 2016 19:57:20 -0400

Wengier or anyone familiar with 4DOS, do you know what the maximum
length of a long filename is?

I have been using Wengier's start.exe to open various PDFs with long
filenames. When I tried opening one whose name had 146 characters,
nothing happened. If I give the same command in a CMD.EXE window, the
file opens. I'm assuming that the difference is that the maximum
filename length is shorter in 4DOS than it is in Windows. I tried to
find the answer in the help facility and on various 4DOS sites, but
came up short.

The workaround in a 4DOS batch file, by the way, is to use the SFN
"variable function":

start.exe %@SFN["really long file name"]

-- 
Carl Distefano
cld@xxxxxxxxxx


Other related posts: