TungVan
asked on
vb6 and command line
Hi,
I want to compile my vb project using batch file. I have to specify the whole path "C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE" instead of just VB6.EXE
Does anyone know why?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1) what os, what version?
>but if i type vb6 at the DOS, it does not recognize
on the DOS, type ECHO $PATH
what does it return, ie does it include the path to the vb6?
>but if i type vb6 at the DOS, it does not recognize
on the DOS, type ECHO $PATH
what does it return, ie does it include the path to the vb6?
also, did you open a NEW dos window after setting the path?
ASKER
i'm using win xp
it returns $PATH if if i type echo $path
and i also opened a new dos window after setting the path
it returns $PATH if if i type echo $path
and i also opened a new dos window after setting the path
sorry, should be
ECHO %PATH%
ECHO %PATH%
how did you set the path?
ASKER
C:\>echo %path%
C:\WINDOWS\system32;C:\WIN DOWS;C:\WI NDOWS\Syst em32\Wbem; C:\Program Files\Microso
ft Visual Studio\Common\MSDev98\Bin; C:\Program Files\Common Files\Adaptec Shared
\System;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; C:\Program Files\Mi
crosoft Visual Studio\VB98
I right-click on my computer i go to advanced->environment path then i append it to INCLUDE
C:\WINDOWS\system32;C:\WIN
ft Visual Studio\Common\MSDev98\Bin;
\System;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; C:\Program Files\Mi
crosoft Visual Studio\VB98
I right-click on my computer i go to advanced->environment path then i append it to INCLUDE
btw, what is the error message?
ASKER
I get the following error:
C:\>vb6
'vb6' is not recognized as an internal or external command,
operable program or batch file.
C:\>vb6
'vb6' is not recognized as an internal or external command,
operable program or batch file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
good catch, ddpeastino!
My first expert points!!!
Angel really deserves them though....
Angel really deserves them though....
ASKER
i put it in my path. I can now use vb6 at the run textbox
but if i type vb6 at the DOS, it does not recognize