Results 1 to 2 of 2

Thread: Executing System Commands from VB.NET

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Location
    Atlanta, GA
    Posts
    34

    Executing System Commands from VB.NET

    Can anyone tell me how to execute a command as if I'm at a command prompt in VB.NET? I have an application (NSM for Unicenter) installed which will allow me to type a command at the command prompt to add text to a log file and I somehow need to run this command from my code. I know it's probably simple but I just don't see it. Thanks for any help.
    MHC_Craig

  2. #2
    Addicted Member
    Join Date
    Jan 2005
    Location
    Montréal
    Posts
    160

    Re: Executing System Commands from VB.NET

    Let's say you want to fire Notepad in windows :

    VB Code:
    1. System.Diagnostics.Process.Start("Notepad.exe")
    There are no stupid questions, but a whole bunch of dumb sayings !

    Save time on database code, try DataLG !

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