Jump to content

psutton00

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by psutton00

  1. I will give it a bash, no pun intended, and let you know. It may take a while as I am having to change a fair amount of my code to adjust. Thanks for your support.
  2. Basically we need some legal legislation to be implemented to hold programmers responsible for there code. IE. if they don't put a god damn exit status in there code they are shot! I am a student on placement and it was one the first I learnt at A-Level! Never write a program that doesn't tell other programs it has ran successfully or failed!
  3. I have tried piping with no avail.
  4. Typical Microshite. Thanks for the reply. I have been waiting all day! Is there any way to use the FIND command to search the output in CMD rather than use a temp file?
  5. I have a problem. I have wrote a script that gets an IP address from Nslookup and passes it to DelProf2.exe. However, I obviously need some error handling in the script so I can influence the flow of the batch file as it is run (if something goes wrong GOTO function name). I'd like to control the flow upon Nslookup succeeding or failing. How do I access the exit status and assign it to a variable? Thanks in advance. This is my first post. This has been doing my head in! Note: I will post up finished bat file upon completion so you can all benefit if needed.
×
×
  • Create New...