how to pass arguments from vb to dos prompt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • regal
    New Member
    • Oct 2007
    • 1

    how to pass arguments from vb to dos prompt

    I am new to Vb,
    I need to transfer ~1000 arguments/strings from vb6 to dos prompt, i am using "wshshell.r un" to perform this, the code seem to be working fine when I try to transfer lesser arguments (~400), but for some reason, i get a runtime error 70, "permission denied" while trying to transfer ~1000 arguments.
    I am able to write these 1000 arguments to a text file, and able to run my application without error when i transfer these 1000 arguments by transfering it manually to dosprompt bycopy-pasting it. any help will be greatly appreciated, thanks in advance
Working...