Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Using option (switches) with Process.Start

Using option (switches) with Process.Start

Scheduled Pinned Locked Moved C#
questionhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TheJudeDude
    wrote on last edited by
    #1

    I have the following code: myProcess.StartInfo.FileName = "c:\\Program Files\\Winzip\\wzunzip.exe -o "; When I try to use the "-o" switch I get an error of "The system cannot find the file specified ". Works fine without the switch. How can I get this to work? Working with 1.1. Thanx for any input.

    Jude

    G 1 Reply Last reply
    0
    • T TheJudeDude

      I have the following code: myProcess.StartInfo.FileName = "c:\\Program Files\\Winzip\\wzunzip.exe -o "; When I try to use the "-o" switch I get an error of "The system cannot find the file specified ". Works fine without the switch. How can I get this to work? Working with 1.1. Thanx for any input.

      Jude

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      Use Arguments property of ProcessstartInfo class to specify "-o" switch

      #region signature my articles #endregion

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups