Skip to main content

Unit 1 Exercise 2

Exercise 2: Run a Manual Batch Job

Objective

To successfully walk through executing two Windows Commands manually.

Summary

Run two basic Batch Jobs from the Command Prompt window:

  • Job 1: timeout /t 15
  • Job 2: C:\Program Files\OpConxps\MSLSAM\genericp.exe" -t10 -e0
Note

You will these programs under the Windows Account you are logged on with, SMATRAINING\SMAUSER. This Windows Account is equivalent to the User ID that is required in an OpCon job. You also ran these programs on the Machine you are logged into SMATRAINING.

Instructions

  1. Click the Windows Start button, type cmd, and press the ENTER key.
  2. From the Command Prompt window, type: timeout /t 15
  3. Press the ENTER key.
Note

You will see the timeout command execute and start counting down 15 seconds.

  1. From the Command Prompt window, type:
cd "C:\Program Files\OpConxps\MSLSAM"
  1. Press the ENTER key.
  2. Still in the Command Prompt, type:
genericp.exe -t10 -e0
  1. Press the ENTER key.
  2. The generic.exe program will run for 10 seconds and then complete.