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. Visual Basic
  4. Redirect another application output to CMD

Redirect another application output to CMD

Scheduled Pinned Locked Moved Visual Basic
csharpsysadmintutorial
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.
  • H Offline
    H Offline
    Herboren
    wrote on last edited by
    #1

    I understand how to embed cmd.exe into a VB.net form and redirect output but I want to use other utilities such as pstools.exe from sysinternals to redirect its output to cmd.exe from within my vb.net app. Im trying to set up a package to check status of users on a domain/network.

    L 1 Reply Last reply
    0
    • H Herboren

      I understand how to embed cmd.exe into a VB.net form and redirect output but I want to use other utilities such as pstools.exe from sysinternals to redirect its output to cmd.exe from within my vb.net app. Im trying to set up a package to check status of users on a domain/network.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Herboren wrote:

      I want to use other utilities such as pstools.exe from sysinternals to redirect its output to cmd.exe from within my vb.net app.

      Didn't you mean you want to hook and read the output of the pstools? Redirecting it to cmd.exe would cause the output (of pstools) to become the input of cmd.exe.

      I are Troll :suss:

      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