writing batch files

Discussion in 'Software' started by taz55, Jun 11, 2006.

  1. taz55

    taz55 Private First Class

    ok so i got this

    @echo off
    this will ping homer then launch vnc viewer
    call homer.bat

    cd\

    cd program files

    cd realvnc

    cd vnc4

    vncviewer.exe 192.168.1.2

    the batch runs beutiful it pings the connection then launches and automaticly connects to the host.
    what i want to know is if there is a way to make it only launch vnc if ping is succesful
    Reply With Quote
     
  2. Kodo

    Kodo SNATCHSQUATCH


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