Results 1 to 2 of 2

Thread: Batch File

  1. #1
    Join Date
    Jul 2006

    Unanswered: Batch File

    Hi:Can any one please tell me how to i pass two file parameters thru batch file (One for input file name and the other is for output). I mean VB6 program will be accept the input and output file parameters from outside the program (i mean dos batch file)


  2. #2
    Join Date
    Jun 2004
    Arizona, USA
    Look up the COMMAND function in VB. The command function returns the parameters passed to the program when it was invoked. If you used explorer to drag a file to the app, COMMAND will return the file path of the file "dropped" atop the program.
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts