rename and erase a file from fwh

rename and erase a file from fwh

Postby Silvio.Falconi » Sat Jun 11, 2016 11:49 am

How I can rename a file from fwh ?
..and how I can erase a file ?

Wich is the commands ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: rename and erase a file from fwh

Postby cnavarro » Sat Jun 11, 2016 12:15 pm

Search FRename and FErase
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: rename and erase a file from fwh

Postby Silvio.Falconi » Sat Jun 11, 2016 1:57 pm

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

then I saw i made a mistake
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: rename and erase a file from fwh

Postby stefano » Sat Jun 11, 2016 5:35 pm

Prova ...
cFile = cperete+"\menu.exe" // prog. su server
cfile0 = "menu.exe" // prog. su client
cfile1 = "menu1.exe"

DELETEFILE(CFILE1)
MOVEFILE(CFILE0,CFILE1)
COPYFILE(CFILE,CFILE0)

Saluti
Stefano
FWH 14.11 + xHarbour + bcc582
stefano
 
Posts: 80
Joined: Tue Mar 25, 2008 9:03 pm
Location: ITALIA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 88 guests