I'm doing batch compiling and need to specify the output directory.
The Visual Basic command-line compiler provides an alternative to compiling programs from within the Visual Studio integrated development environment (IDE). This section contains descriptions for the Visual Basic compiler options. Every compiler option is available in two forms: -option and /option .
To invoke the compiler using the Windows Command Prompt From the Start menu, click on the Accessories folder, and then open the Windows Command Prompt. At the command line, type vbc.exe sourceFileName and then press ENTER.
/run
/runexit
- Compile and then run it. Exit VB IDE when project returns to design mode.
/make
or /m
projectname - compiles an makes exe using the existing settings in proj file
/out
filename
/outdir
path Specifies a directory path to place all output files in when using /make
/d
/cmd
/mdi
or /sdi
... and a couple of others.
Run vb6.exe /?
for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With