antonio,
actualize con lo que me mandaste y ahora no compila
cuando ejecuto b.bat y el nombre del programa
sale el siguiente error al compilar
******************************************************
Harbour Compiler Alpha build 46.2 (Flex)
Copyright 1999-2006,
http://www.harbour-project.org/
Compiling '_aaa.prg' and generating preprocessed output to '_aaa.ppo'...
Lines 17, Functions/Procedures 1
Generating C source output to '_aaa.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.
_aaa.c
Creating library _aaa.lib and object _aaa.exp
_aaa.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
common.lib(hbgete.obj) : error LNK2019: unresolved external symbol GetEnvironmen
tVariable referenced in function hb_getenv
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol AnsiToWide
rtl.lib(errorint.obj) : error LNK2019: unresolved external symbol AnsiToWide ref
erenced in function hb_conOutErr
rtl.lib(console.obj) : error LNK2001: unresolved external symbol AnsiToWide
rtl.lib(filesys.obj) : error LNK2019: unresolved external symbol AnsiToWide refe
renced in function hb_fsOpen
rtl.lib(fstemp.obj) : error LNK2001: unresolved external symbol AnsiToWide
rtl.lib(filesys.obj) : error LNK2019: unresolved external symbol SetCurrentDirec
tory referenced in function hb_fsChDir
rtl.lib(filesys.obj) : error LNK2019: unresolved external symbol GetCurrentDirec
tory referenced in function hb_fsCurDirBuff
rtl.lib(seconds.obj) : error LNK2019: unresolved external symbol GetProcessTimes
referenced in function hb_secondsCPU
rtl.lib(fstemp.obj) : error LNK2019: unresolved external symbol WideToAnsi refer
enced in function hb_fsTempName
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol WideToAnsi
rtl.lib(hbffind.obj) : error LNK2019: unresolved external symbol GetVolumeInform
ation referenced in function hb_fsFindNextLow
rtl.lib(gtsys.obj) : error LNK2019: unresolved external symbol HB_FUN_HB_GT_WIN
referenced in function hb_gt_ForceLink_HB_GT_WIN
vm.lib(main.obj) : error LNK2019: unresolved external symbol GPFStack referenced
in function WinMain
_aaa.exe : fatal error LNK1120: 10 unresolved externals
* Application successfully built
C:\FWPPC\dario>block
"block" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.