|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 46
|
This may be a silly question. How do you pass parameters to an executable written in VB.net? Using the command line it is easy to pass filenames to a vbscript.
For example here is code in a *.cmd file: WScript C:\test.vbs %1 Here is the code in the script to call that parameter: Set objArgs = WScript.Arguments vFilename = objArgs(i) All you have to do is drop the file on the script and it runs with that file as the parameter. Is it possible to have a similiar setup for an executable? test.exe %1 I can't find anywhere where it would accept a parameter in this fashion. THANKS!!!!! Why not just use vbscript? As the programs become more complex I would like to use .Net architecture... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|