Results 1 to 4 of 4

Thread: Batch file for Recording User Input

  1. #1
    JenkinsReed is offline Senior Member
    Join Date
    Dec 2009
    Posts
    169
    Rep Power
    3

    Default Batch file for Recording User Input

    I am running on a ping batch file for restaurant chain that let us enter store number, then ping store this works well, but I would also like ping again option that when encouraged,
    will read back the previous input and ping the same store again. Please help me to solve this problem.

  2. #2
    PerryCollins is offline Senior Member
    Join Date
    Dec 2009
    Posts
    380
    Rep Power
    3

    Default

    It sounds like you need a simple logging system that lets you know when a store is disconnected,

  3. #3
    JenkinsReed is offline Senior Member
    Join Date
    Dec 2009
    Posts
    169
    Rep Power
    3

    Default

    thanks for replay.

  4. #4
    SmithJohnson is offline Senior Member
    Join Date
    Dec 2009
    Posts
    364
    Rep Power
    3

    Default

    You put in GOTO thusly and so-forth ing again

    SET /P PingAgain=Ping Again? y/n:
    IF "%PingAgain%"=="y"
    REM ...then ping the same store again
    IF "%PingAgain%"=="n" GOTO end
    :end
    EXIT
    if you could shed some light on what instructions should replace the comment.

Similar Threads

  1. Run batch file when PC starts
    By MorganCooper in forum Programming
    Replies: 1
    Last Post: 03-29-2010, 02:04 PM
  2. Open File with Exe File Command for batch
    By PetersonClark in forum Windows XP
    Replies: 1
    Last Post: 03-03-2010, 02:49 PM
  3. Writing a Batch File to Copy File
    By louis.Scott in forum Programming
    Replies: 0
    Last Post: 01-08-2010, 04:25 PM
  4. How to get the log file from the Dos batch file Programming
    By Madge555 in forum Networking Jargons
    Replies: 2
    Last Post: 10-14-2009, 04:15 PM
  5. Batch File
    By techno23 in forum General Software Terms
    Replies: 0
    Last Post: 03-26-2008, 10:51 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48