Re: control Value of variable within multi-scripts

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 02/26/05

  • Next message: bmgz: "Re: cdrecord: check if cd media ready"
    Date: Sat, 26 Feb 2005 11:01:30 -0500
    
    

    On 26 Feb 2005 05:03:32 -0800, shell
      <sonchacan@hotmail.com> wrote:
    >
    > Now I want to create 2nd and 3rd scripts.
    > 2nd scriptshould change the variable CHECK to YES. And that could be
    > used when we run the 1st script after running 1st separately.
    > 3rd must reset the variable to original.
    >
    > What I need is value of variable must remain same as set by 2nd script
    > for all sessions and retained by reboots, unless changed by 3rd
    > command.
    >
    2nd script:
    echo "CHECK=YES" > checkthis
    other scripts:
    if [ -f checkthis ]; then . checkthis; fi


  • Next message: bmgz: "Re: cdrecord: check if cd media ready"

    Relevant Pages

    • control Value of variable within multi-scripts
      ... I have 1st script that always runs one command. ... I want modif it to follwing to add 2 conditions. ... 2nd scriptshould change the variable CHECK to YES. ...
      (comp.unix.shell)
    • Re: Error handling problem.
      ... The script appears to be working fine, ... >a problem with the error handling. ... The Err object is implemented in scope-specific manner. ... will implicitly clear (reset) any error settings. ...
      (microsoft.public.windows.server.scripting)
    • Re: Cumulative Bandwidth limits under Windows 2000 WMS
      ... Simple script which will deny new connections if the ... number of bytes exceeded certain limit since last reset. ...
      (microsoft.public.windowsmedia.server)
    • Re: Error handling problem.
      ... >>administrator password for the local machine account of all of the ... The script appears to be working fine, ... > The Err object is implemented in scope-specific manner. ... > will implicitly clear (reset) any error settings. ...
      (microsoft.public.windows.server.scripting)
    • Reset Expired Password
      ... I'd like to have a script (which will eventually run via ... Active Directory. ... reset password at next login, the script won't bind to ...
      (microsoft.public.windows.server.scripting)