tamanho do arquivo (resolvido)

Post Reply
User avatar
roberio
Posts: 27
Joined: Fri Jul 22, 2011 4:04 am

tamanho do arquivo (resolvido)

Post by roberio »

ola grupo

preciso saber o tamanho(size) do meu executavel

vlw
Last edited by roberio on Fri Sep 16, 2011 5:29 pm, edited 1 time in total.
FWHX 11.11 # xHarbour 1.2.1 Rev.9411 ## Borland C++ 5.8.2
User avatar
roberio
Posts: 27
Joined: Fri Jul 22, 2011 4:04 am

Re: tamanho do arquivo

Post by roberio »

Code: Select all

  
  adir1   := Directory(cDir_001+"sistema.exe")
  adir2   := Directory(Left(cDir_002,nLenArq)+"sistema.exe")

  If adir1[1,2] # adir2[1,2]
     cOrigem  := Left(cDir_002,nLenArq)+"sistema.exe"
     cDestino := cDir_001+"sistema.exe"
     __CopyFile(cOrigem,cDestino)
  Endif
 
FWHX 11.11 # xHarbour 1.2.1 Rev.9411 ## Borland C++ 5.8.2
Post Reply