QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: hotlnc on November 06, 2019, 07:37:59 pm

Title: The 8 byte File name limit is back...
Post by: hotlnc 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?
Title: Re: The 8 byte File name limit is back...
Post by: SMcNeill 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.
Title: Re: The 8 byte File name limit is back...
Post by: bplus on November 06, 2019, 10:15:13 pm
Could be talking about the old FILES command which list filenames in 8 characters?
Title: Re: The 8 byte File name limit is back...
Post by: hotlnc 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.


Title: Re: The 8 byte File name limit is back...
Post by: bplus 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:
Title: Re: The 8 byte File name limit is back...
Post by: hotlnc 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.