Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Environment Variable: PATH

  1. #11

    Default Re: Environment Variable: PATH

    Hi Jane.

    No need to brag <g>..

    Thanks.. Taking another look at it now.. Not sure what I've done to all my
    PCs, going to play around with the API and see what that turns up..

    Best Regards,

    Gary.

    Gary James
    Strategy, South Africa
    Web: www.strategyonline.co.za
    Blog: www.strategyonline.co.za/blog

  2. #12

    Default Re: Environment Variable: PATH

    Hi Friedrich.

    API works fine here, code as follows:

    program
    map
    module('WinAPI')
    ExpandEnvironmentStrings (*cstring lpSrc, *cstring lpDst, long
    nSize),long,pascal,raw,name('ExpandEnvironmentStri ngsA'),proc
    end
    end
    p1 cstring(256)
    p2 cstring(1024)
    p3 long
    code
    p1 = '%PATH%'
    p3 = size(p2)
    ExpandEnvironmentStrings (p1, p2, p3)
    stop(p2)

    SB still returning nothing.

    Best Regards,

    Gary.

    Gary James
    Strategy, South Africa
    Web: www.strategyonline.co.za
    Blog: www.strategyonline.co.za/blog

  3. #13

    Default Re: Environment Variable: PATH

    Hi Gary,

    Unforunately, I have no idea. I cannot reproduce this problem on any of our
    machines.

    Friedrich

  4. #14

    Default Re: Environment Variable: PATH

    Perhaps Gary could step thru this with the debugger?

    --
    Russ Eggen
    www.radfusion.com
    IRC Info: www.radfusion.com/irc.htm
    Freebies: www.radfusion.com/downloads.htm

  5. #15

    Default Re: Environment Variable: PATH

    You and your debugger <G>

    Jane Fleming

  6. #16

    Default Re: Environment Variable: PATH

    Not mine, Friedrich's <bg>

    --
    Russ Eggen
    www.radfusion.com
    IRC Info: www.radfusion.com/irc.htm
    Freebies: www.radfusion.com/downloads.htm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. #00015: Is there a system PATH Environment Variable Size Limit in XP?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 04-03-2006, 07:42 AM
  2. #00011: How do I add directories to the PATH system environment variable?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 02-08-2006, 01:17 AM
  3. Using a variable in Install Files
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 11
    Last Post: 01-24-2006, 01:30 AM
  4. Cannot open and compress service file - error
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 6
    Last Post: 12-06-2005, 04:40 AM
  5. Duplicate entries in Edit Environment Variable
    By sphair in forum SetupBuilder
    Replies: 2
    Last Post: 11-24-2004, 01:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •