Author Topic: The 8 byte File name limit is back...  (Read 3386 times)

0 Members and 1 Guest are viewing this topic.

Offline hotlnc

  • Newbie
  • Posts: 21
    • View Profile
The 8 byte File name limit is back...
« on: November 06, 2019, 07:37:59 pm »
I'm switching from WIN7 to WIN10 (hopefully I'll finish the task before I stress out and my head explodes.)

I'm using REV 1.3

When I try to open a file that is greater than 8 characters (LargerFileName.LST) it looks for the old 8 byte file name: "Larger~1.LST". Hence it cannot fine the source file.

What am I doing?

Can any one help?

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: The 8 byte File name limit is back...
« Reply #1 on: November 06, 2019, 07:43:40 pm »
Can you share the code you’re testing?  Win10 doesn’t require those short file names; in fact, it allows use of file names with 32,767 characters instead of the 256 characters allowed in prior versions of Windows.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: The 8 byte File name limit is back...
« Reply #2 on: November 06, 2019, 10:15:13 pm »
Could be talking about the old FILES command which list filenames in 8 characters?

Offline hotlnc

  • Newbie
  • Posts: 21
    • View Profile
Re: The 8 byte File name limit is back...
« Reply #3 on: November 07, 2019, 04:58:12 pm »
Based on what you guys are telling me, I traced the problem to the COMMAND$ function.

The command data given: "C:\folder1\folder2\bigname_flat.LST"

A print command at the start of the program shows: C:\folder1\folder2\bignam~3"

The first code line used as test: Print "command$--->";COMMAND$

This used to work on my old WIN7 machine.



Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: The 8 byte File name limit is back...
« Reply #4 on: November 07, 2019, 05:10:17 pm »
What is writing the Command line for COMMAND$ to pickup?

Command$ from RUN menu of IDE looks OK:

Offline hotlnc

  • Newbie
  • Posts: 21
    • View Profile
Re: The 8 byte File name limit is back...
« Reply #5 on: November 07, 2019, 06:09:02 pm »
An editor program called "Multi-edit." I started using it back when the program was issued on 3.5" floppies and was DOS based -- before windows.

I am seeing "differences" with this editor running on WIN10. Maybe that is it.

I'll reinstall Multi-edit and see what happens.

There is no WIN10 version form the multi-edit vendor.

Thanks.