Results 1 to 2 of 2

Thread: Please Help: Environment variables

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    17

    Question Please Help: Environment variables

    Hi,
    I have a .Net windows application in C#. I want one enhancement in this. Whenever any error occurs during execution I need to pass the value of it i.e. non 0 in "%ERRORLEVEL%" variable.

    How can i perform this. Please Help.

    Thanks & Regards,
    Ashish

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: Please Help: Environment variables

    are you looking for
    Environment.ExpandEnvironmentVariables()
    ?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

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