Jump to content
Sign in to follow this  
Archer

Run script in the background

Recommended Posts

Archer

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.

Share this post


Link to post
Share on other sites
November

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]

Share this post


Link to post
Share on other sites
Archer

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.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.