so_damn_insane ([info]so_damn_insane) rakstīja,
@ 2009-06-14 21:18:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
otra puse: db1.bat

echo off
set specprefix=spec
set prefix=%1%
set prefix=%prefix:~0,4%
IF (%specprefix%)==(%prefix%) GOTO SPEC
REM ja nav iipashais prefikss, tad njem saakumu
set username=%1%
set username=%username:~0,3%
GOTO END
:SPEC
set username=%1%
set username=%username:~5,3%
:END
echo on
sqlplusw %username%/%username%@db1 @%1%


(Ierakstīt jaunu komentāru)

Neesi iežurnalējies. Iežurnalēties?