Rujith Anand (w...'s profileRujith Anand's SpaceBlogLists Tools Help

Blog


    June 27

    Starting event viewer from c# code

    Starting .msc files from .net application.

     

    When writing code, lot of times we have come across situation where we want to start event viewer or any other application which uses management console . The code below shows how to start event viewer from .net application. This can be used to start services.msc or any other similar files.

     

    Process traceFileViewerProcess = new Process();

     

    string executable = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\eventvwr.msc");

    traceFileViewerProcess.StartInfo.FileName = executable;

     

    traceFileViewerProcess.StartInfo.Arguments = "/s";

    traceFileViewerProcess.Start();

     

    -Rujith

     

    June 09

    Using Differencing Disks to save hard drive space

    Found a good article on saving your back hard drive space using Differencing Disk.

     

    http://blogs.msdn.com/midatlanticcrm/archive/2006/06/06/Demo_Tip_Using_Differencing_Disks_to_save_hard_drive_space.aspx

     

    This demo describes how to create a Differencing Disk using VPC.

     

    -Rujith Anand