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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Running a command on remote pc

Running a command on remote pc

Scheduled Pinned Locked Moved C#
csharpregexhelpquestion
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.
  • C Offline
    C Offline
    CodingYoshi
    wrote on last edited by
    #1

    I need to do the following on many remote pcs: 1. Check if a file exists and delete it. 2. Run a cmd command on remote pc which will create the file. 3. Read the file. I am using C# and to run the command line on remote pcs I am starting a process and using psexec. It works but problem is that it is very slow. Any alternatives? I am really desperate and need to get this project going.

    CodingYoshi Artificial Intelligence is no match for Human Stupidity.

    L 1 Reply Last reply
    0
    • C CodingYoshi

      I need to do the following on many remote pcs: 1. Check if a file exists and delete it. 2. Run a cmd command on remote pc which will create the file. 3. Read the file. I am using C# and to run the command line on remote pcs I am starting a process and using psexec. It works but problem is that it is very slow. Any alternatives? I am really desperate and need to get this project going.

      CodingYoshi Artificial Intelligence is no match for Human Stupidity.

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

      Reposting the same question is not going to get a quicker answer

      Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns Help humanity, join the CodeProject grid computing team here

      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