Results 1 to 5 of 5

Thread: including arguments with System.Diagnostics.Process.Start.... [resolved]

Threaded View

  1. #1

    Thread Starter
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762

    Resolved including arguments with System.Diagnostics.Process.Start.... [resolved]

    I can do
    VB Code:
    1. System.Diagnostics.Process.Start("C:\windows\system32\shutdown.exe")
    but this returns a file not found error
    VB Code:
    1. System.Diagnostics.Process.Start("C:\windows\system32\shutdown.exe -r")
    How do I include the switches at the end of the file name when using Process.Start?
    thanks
    kevin
    Last edited by kebo; Mar 31st, 2005 at 12:48 PM.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

Posting Permissions

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



Click Here to Expand Forum to Full Width