Jump to content

Run script in the background


Archer
 Share

Recommended Posts

Hi, all

I did an installation scipt. But I would like to let it run in the background, such as, I remote a computer, upload the script and send a command to run.

I tested following the steps above, and I could see the script process in the task manager. BUT, It does NOT work.

Is there any way to resolve it?

Thanks all.

Link to comment
Share on other sites

Hi, all

I did an installation scipt. But I would like to let it run in the background, such as, I remote a computer, upload the script and send a command to run.

I tested following the steps above, and I could see the script process in the task manager. BUT, It does NOT work.

Is there any way to resolve it?

Thanks all.

Hi there m8,

Some code would be nice!

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

Hi there m8,

Some code would be nice!

Cheers

Code like this:

----------

Run("d:\autoplay.exe")

WinWaitActive("somthing here")

.....

----------

The issue is that I launched this script using psexec which is a service in the background. I could see the script process and autoplay.exe in the task manager but there's no log output since the script did not detect the window.

I tried to use @SW_Enable but no use......

:mellow:

Although I could work out the workround, that, add the script in the startup/registry to make it self-start when the system start, and reboot the system. But I wonder if there's the better way to resolve it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...