Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Command()

Hi Expert,

Just a simaple question

  Dim cmdLine As String
  cmdLine = Command()

Could you please brief explain the purpose for this code?

Thanks
kchoed
0
kchoed
Asked:
kchoed
1 Solution
 
anvCommented:
command()
'returns the argument portion of the command line..
so cmdline is storing that
0
 
mladenoviczCommented:
When you try to call your vb app from commandline for example

ApplicationName Parameters


Command will contain Parameters

MyProject C:\Test

Command = C:\Test
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now