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
kchoedAsked:
Who is Participating?
 
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
 
anvCommented:
command()
'returns the argument portion of the command line..
so cmdline is storing that
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.