tamanho do arquivo (resolvido)

tamanho do arquivo (resolvido)

Postby roberio » Fri Sep 16, 2011 3:26 pm

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

Postby roberio » Fri Sep 16, 2011 5:28 pm

Code: Select all  Expand view
 
  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
User avatar
roberio
 
Posts: 27
Joined: Fri Jul 22, 2011 4:04 am


Return to All products support

Who is online

Users browsing this forum: No registered users and 0 guests

cron