User Profile

Collapse

Profile Sidebar

Collapse
Sm00th
Sm00th
Last Activity: Feb 11 '08, 06:04 PM
Joined: Jan 24 '08
Location: Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Sm00th
    started a topic Batch Scripting Help - Keystrokes

    Batch Scripting Help - Keystrokes

    Hi all,

    Need help again in batch scripting. I need to create a command line script to launch an .exe file, but this .exe launches a window instead of a command prompt, and in this window you have to login and click some buttons before it actually do its stuff. How can I pass keystroke parameters just by using the command line?

    Here's what it's supposed to do:
    1) Run winprogram.exe
    2) Enter password
    ...
    See more | Go to post

  • Sm00th
    started a topic Batch Scripting Help

    Batch Scripting Help

    Hi all,

    I'm writing this batch script to start/stop some windows services using a combination of net start/stop and sc.exe. Now I need to do some verification on it, command 2 can only run when command 1 runs successfully. So let's say I issue

    sc start WinService01

    If this service starts successfully it should run WinService02. If it doesn't run then goto WinService05 or something like that.
    ...
    See more | Go to post
No activity results to display
Show More
Working...