Itamar M. Lins Jr. escreveu:E o explorer (extra) que vc usa serve para quê ?
Não uso, apenas citei a possibilidade.
d:\>q jpa_index.prg
d:\cdrom\FONTES>dir jpa_index.prg /s/b
d:\cdrom\FONTES\INTEGRA\libjpa\source\jpa_index.prg
Simples assim. Abro qualquer fonte de qualquer lugar.
Código: Selecionar todos
---- q.bat ---
@echo off
pushd .
if "%1" == "" goto :continue
if not exist %1 cd \cdrom\fontes\integra\sefazclass\source
if not exist %1 cd \cdrom\fontes\integra\sefazclass\include
if not exist %1 cd \cdrom\fontes\integra\libjpa\source
if not exist %1 cd \cdrom\fontes\integra\libjpa\include
if not exist %1 cd \cdrom\fontes\integra\libjpa\prg
if not exist %1 cd \cdrom\fontes\integra\libjpa\main
if not exist %1 cd \cdrom\fontes\haroldo
if not exist %1 cd \cdrom\fontes\integra
:continue
start d:\tools\pnotepad\pn.exe %*
popd
ou pra trocar pasta de projeto
Código: Selecionar todos
--- ccd.bat---
@echo off
echo.
d:
if /i "%1" == "f" cd \cdrom\fontes\integra\sefazclass
if /i "%1" == "gera" cd \cdrom\fontes\util\gerador
if /i "%1" == "h" cd \cdrom\fontes\haroldo
if /i "%1" == "hl" cd \cdrom\fontes\haroldo
if /i "%1" == "i" cd \cdrom\fontes\integra
if /i "%1" == "in" cd \cdrom\fontes\integra
if /i "%1" == "jpa" cd \cdrom\dados\sistemas
if /i "%1" == "j" cd \cdrom\fontes\integra\libjpa
if /i "%1" == "j50" cd \cdrom\fontes\util\j50
if /i "%1" == "js" cd \cdrom\fontes\integra\libjpa\source
if /i "%1" == "l" cd \cdrom\fontes\laboroil
if /i "%1" == "s" cd \cdrom\fontes\integra\sefazclass
if /i "%1" == "build" cd \cdrom\fontes\build
if /i "%1" == "a" cd \cvsfiles\allgui\allgui
if /i "%1" == "oohg" cd \cvsfiles\oohg
if /i "%1" == "hmg3" cd \cvsfiles\hmg3
if /i "%1" == "hmge" cd \cvsfiles\hmge
if /i "%1" == "hwgui" cd \cvsfiles\hwgui
if /i "%1" == "b" cd \cdrom\fontes\bhp\bhp
E na prática, pra compilar: c <ENTER>
----c.bat---
d:\cdrom\FONTES\build\build.exe %*
xxxxxxxxxxxxx
no final é o hbmk2 mesmo, mas faço umas coisas primeiro que ele não faz.