warren2600
Programmer
here is some code which works in a .bat file.
i can call it and capture the output.
my question is this...can i skip the .bat file altogether and just encorporate this into my vb app using shell?
here's my bat file:
@echo off
for /f "skip=3 tokens=4" %%a in ('reg.exe query "\\server10\hklm\software\database" /v "dbname"') do @echo %%a
i'm passing variables to the bat file for server and regkey name. I would like to just encorporate all of this into vb if possible.
thanks in advance,
warren
i can call it and capture the output.
my question is this...can i skip the .bat file altogether and just encorporate this into my vb app using shell?
here's my bat file:
@echo off
for /f "skip=3 tokens=4" %%a in ('reg.exe query "\\server10\hklm\software\database" /v "dbname"') do @echo %%a
i'm passing variables to the bat file for server and regkey name. I would like to just encorporate all of this into vb if possible.
thanks in advance,
warren