Search found 23 matches: longname

Return to advanced search

Re: Question about function file

... the cause, sorry. :-( Thank you Enrico. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43844&p=264863&hilit=longname&sid=714d291ed0a2c9290d53183020f6ae6c&sid=714d291ed0a2c9290d53183020f6ae6c#p264863 Regards, saludos. This is not about long names, Kapiaba.
by Eroni
Mon Feb 19, 2024 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about function file
Replies: 3
Views: 225

Re: Long file names

Maybe: \SAMPLES: LONGNAME.PRG TESTLFN.PRG TESTLFN2.PRG XBRDBU.PRG -> RENAME https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42417&p=255468&hilit=RENAME&sid=216421a28c115c805699ba43cda6d5f9&sid=491f528a93b52f527df7c1b52022960a#p255468 ...
by karinha
Mon Oct 30, 2023 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Long file names
Replies: 3
Views: 304

Re: bad image string on archive

\samples\LONGNAME.PRG
by karinha
Mon Feb 17, 2020 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad image string on archive
Replies: 1
Views: 402

Re: CopyFIle()

\samples,

GETDIR.PRG
TESTDROP.PRG
LONGNAME.PRG
TESTLFN2.PRG

mira y comente, se funciona.

Saludos.
by karinha
Thu Dec 20, 2018 12:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CopyFIle()
Replies: 6
Views: 1359

Re: FWrite(). No logro escribir en un fichero

...                           ".txt" )  Mira \samples\LONGNAME.PRG 
by karinha
Wed Apr 23, 2014 6:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWrite(). No logro escribir en un fichero
Replies: 7
Views: 1304

Re: lLFNMkDir is not returning neither true nor false

Look in \samples\LONGNAME.PRG

regards,
by karinha
Fri Jan 31, 2014 1:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: lLFNMkDir is not returning neither true nor false
Replies: 5
Views: 830

Re: How to change LongName path to shortName path?

Enrico,

You example works fine because you are previously creating a longname file.

If Silvio does not create it, as he should do, then the Windows API will not work :-)
by Antonio Linares
Mon Nov 09, 2009 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

richard-service wrote:? LFN2SFN( "This is a long name" ) --> Empty

Test FWH801


Are you using my sample without changes? If yes, do you want my EXE to test there? I'm using latest FWH.

EMG
by Enrico Maria Giordano
Mon Nov 09, 2009 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

Richard,

You need to have a file or a folder with that name in order to get LFN2SFN() working.

It is a Windows API requirement.
by Antonio Linares
Mon Nov 09, 2009 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

The following sample works fine here: #include "Fivewin.ch"FUNCTION MAIN()    MEMOWRIT( "This is a long name", "Test" )    ? LFN2SFN( "This is a long name" )    RETURN NIL EMG ? LFN2SFN( "This is a long name" ) --> Empty T...
by richard-service
Mon Nov 09, 2009 3:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

Antonio Linares wrote:Richard,

Is CurDir() returning a long filename ?

Yes, c:\program files
by richard-service
Mon Nov 09, 2009 2:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

The following sample works fine here:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    MEMOWRIT( "This is a long name", "Test" )

    ? LFN2SFN( "This is a long name" )

    RETURN NIL


EMG
by Enrico Maria Giordano
Sat Nov 07, 2009 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

Richard,

Is CurDir() returning a long filename ?
by Antonio Linares
Sat Nov 07, 2009 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221

Re: How to change LongName path to shortName path?

Enrico Maria Giordano wrote:Try:

Code: Select all  Expand view
Lfn2Sfn()


EMG

Hi EMG,

Thanks. I will try it.
But I got Empty.

Ex.
Lfn2Sfn( curdir() )

OS: XP
by richard-service
Sat Nov 07, 2009 1:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change LongName path to shortName path?
Replies: 9
Views: 1221
Next

Return to advanced search