Search found 24 matches: frename

Return to advanced search

Error 32 al querer renombrarse un achivo

Hola.
Cuando quiero usar la función Frename() no me deja renombrar el archivo y me tira un -1, mirando con el FError() me tira el numero 32
que significa? como puedo solucionarlo?

gracias.
by goosfancito
Wed Mar 06, 2024 6:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error 32 al querer renombrarse un achivo
Replies: 7
Views: 218

Re: FWH functions and mod harbour

try use: FRename( cLogFile2, cLogFile )
by ssbbs
Tue Jan 09, 2024 3:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH functions and mod harbour
Replies: 1
Views: 622

Re: New Fivewin with new PDF

Dear Byron,

You could try to rename the PDF file, as meanwhile the file is in use, you will not able to do it:

while FRename( cCurrentName, cNewName ) != 0
SysWait()
end
by Antonio Linares
Mon Apr 04, 2022 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 926

Re: many bug about local file/directory when name is utf8

Tested FILE() and FRENAME() functions and they are Unicode compatible. harbour native function is ok. Then what exactly is your difficulty in these areas? 1. filename change from english to uft8, ex: 'abc.exe to ' 中文龍咙.exe' 2. directory ...
by ssbbs
Sat May 29, 2021 2:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1383

Re: many bug about local file/directory when name is utf8

ssbbs wrote:
nageswaragunupudi wrote:Tested FILE() and FRENAME() functions and they are Unicode compatible.

harbour native function is ok.


Then what exactly is your difficulty in these areas?
1. filename change from english to uft8, ex: 'abc.exe to ' 中文龍咙.exe'
2. directory is utf8 name, ex: 'c:\temp\中文龍咙\'
by nageswaragunupudi
Fri May 28, 2021 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1383

Re: many bug about local file/directory when name is utf8

nageswaragunupudi wrote:Tested FILE() and FRENAME() functions and they are Unicode compatible.

harbour native function is ok.
by ssbbs
Fri May 28, 2021 4:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1383

Re: many bug about local file/directory when name is utf8

Tested FILE() and FRENAME() functions and they are Unicode compatible.
by nageswaragunupudi
Fri May 28, 2021 3:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1383

Re: Descargar y actualizar un EXE

... ) WinExec( "sicce.exe", 0 ) PostQuitMessage( 0 ) Quit EndIf If File( "SICCEOLD.EXE" ) FErase( "SICCEOLD.EXE" ) EndIf FRename( "SICCE.EXE", "SICCEOLD.EXE" ) MoveFile( ".\Descargas\" + "SICCE.EXE", ".\" + "SICCE.EXE" ...
by EBM
Thu Mar 28, 2019 1:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descargar y actualizar un EXE
Replies: 5
Views: 1697

Re: funciones de FWH y Harbour en un archivo .txt

... FReadStr(<nHandle>,<nBytes>)->cString FreeLibrary(<nDllHandle>)->lSuccess FRename(<cOldFile>,<cNewFile>)->nSuccess FSeek(<nHandle>,<nOffset>,[<nOrigin>])->nPosition FtoC(<nFloat>)->cFloat ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: funciones de FWH y Harbour en un archivo .txt

... FileTime FileValid FileWriter FKLabel FKMax FLineCount FLock Floor FloppyType FOpen Found FParse FParseEx FParseLine FRead FReadStr FreeLibrary FRename FSeek FtoC Fv FWordCount FWrite GetActiveObject GetClearA GetClearB GetClrBack GetClrFore GetClrPair GetCurrentThread GetDefaultPrinter GetE ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: Convert DOS application(s) to Harbour <== LIB compatibility

... them using standard Clipper functions OL_WINCBPA unknown OL_WINCBCO unknown LF_LIBVERS can't you remove it? LL_LIBVERS can't you remove it? LF_FRENAME try using FRENAME LF_DIRECTO try using DIRECTORY OL_YIELD not required FT_PUTKEY try using KEYBOARD EMG
by Enrico Maria Giordano
Thu Jul 28, 2016 3:40 pm
 
Forum: FiveWin for CA-Clipper
Topic: Convert DOS application(s) to Harbour <== LIB compatibility
Replies: 42
Views: 18116

Re: rename and erase a file from fwh

sorry I tried all this morning with
FRENAME( oldname, cFolderAllegati+cRecord+"--"+cnewname ) with no success

then I saw i made a mistake
by Silvio.Falconi
Sat Jun 11, 2016 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rename and erase a file from fwh
Replies: 3
Views: 651

Re: rename and erase a file from fwh

Search FRename and FErase
by cnavarro
Sat Jun 11, 2016 12:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rename and erase a file from fwh
Replies: 3
Views: 651

Re: Harbour-32.dll

EXPORTS HB_FUN_AADD @1 HB_FUN_ABS @2 HB_FUN_ACCELERATO @3 HB_FUN_ACCELERATOR @4 HB_FUN_ACHOICE @5 HB_FUN_ACLONE @6 HB_FUN_ACOPY @7 HB_FUN_ADEL @8 HB_FUN_ADIR @9 HB_FUN_AEVAL @10 HB_FUN_AFIELDS @11 HB_FUN_AFILL @12 HB_FUN_AINS @13 HB_FUN_ALERT @14 HB_FUN_ALIAS @15 HB_FUN_ALLTRIM @16 HB_FUN_ALTD @17 H...
by pgfdz
Fri May 29, 2015 8:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour-32.dll
Replies: 5
Views: 2340

DBF - convert from old clipper ( DBT ) to FPT / CDX

... the old DBF IF File( c_Pfad3 + "OLD.DBF" ) APPEND FROM ( c_Pfad3 + "OLD.DBF" ) DELETE FILE ( c_Pfad3 + "OLD.DBF" ) FRENAME( c_Pfad3 + "TEMP.DBF", c_Pfad3 + "NEW.DBF" ) FRENAME( c_Pfad3 + "TEMP.FPT", c_Pfad3 + "NEW.FPT" ) ENDIF ...
by ukoenig
Mon Mar 16, 2015 7:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF - convert from old clipper ( DBT ) to FPT / CDX
Replies: 6
Views: 1593
Next

Return to advanced search