Jump to content
Sign in to follow this  
ENTERg

how can i run an exe file for certain ip ?

Recommended Posts

ENTERg

hi all ...i want to create a script but when i run it in a local network i want for certain ip to run a different file.

for example : when i run the script from ip : 192.xxx.xxx.x.xx i want at the end of the script to have a certain command (like a run command) and create many scripts that will execute this .

thx in advance for your help !!!

Share this post


Link to post
Share on other sites
Fire

İ think you need psexec from MS.

PsExec

and then write your script for it.


[size="5"] [/size]

Share this post


Link to post
Share on other sites
funkey

Run the file with a parameter. Look at $CmdLine in helpfile.


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites
ENTERg

İ think you need psexec from MS.

PsExec

and then write your script for it.

i didn t understand how psexec is working..

thx 4 the reply anyway ...

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.