Windows Scripting Help

Discussion in 'Software' started by Kevyn, Feb 3, 2008.

  1. Kevyn

    Kevyn Private E-2

    Hello,

    I've been using simple batch files in Windows XP to install programs on multiple machines. Here is an example of what I use to install a simple program silently:

    Code:
    ECHO.
    ECHO Installing Some Program...
    ECHO Please wait...
    start /wait setup.exe /s
    ECHO DONE!
    Is there some script/batch command that can be used to determine the computer's physical memory? For instance, if the computer has less than 256 MB of memory, I would not install a certain program:

    Code:
    if ( memory > 256 )
        ECHO.
        ECHO Installing Some Program...
        ECHO Please wait...
        start /wait setup.exe /s
        ECHO DONE!
    else
        ECHO.
        ECHO Some Program was not installed because 
        ECHO of insufficient memory requirements!
    Any help would be appreciated, because I am a total noob with Windows scripting and programming.
     
  2. Kevyn

    Kevyn Private E-2

    Thanks for all the help. Would be nice if someone could at least point me to another site or forum where I could actually find some information on this...
     
  3. Wookie

    Wookie Sergeant Major


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds