Jump to content

running programs in hidden mode


MuNNa
 Share

Recommended Posts

Hii All;

I wanna know if there is any way to make any program run in the background... like for eg.: i wanna telnet a client and i dont want a dos window to be visible to me. The whole process should be done in the background.,

IF it is possible, can any1 guide me for the same.

Thnx

MuNNa

Link to comment
Share on other sites

It's posible to run in background in two manners - just don't make a gui ( Run and runwaity can do just the same operations with or without a gui to responce to ) OR just don't insert a GUISetState() function after the gui createing - simple as that...

kjactive B)

Link to comment
Share on other sites

Welcome to the forums!

Here is an example of running a DOS command in a hidden fashion:

RunWait(@ComSpec & ' /c dir /b /s \*.gif', '', @SW_HIDE)

Here is an example of starting Notepad in a hidden fashion (although it is useless):

Run('Notepad', '', @SW_HIDE)

The @SW_HIDE is used to prevent display of the console window. Please refer to Run() and RunWait() in the AutoIt help file for more information.

P.S. Please post your questions to the Support forum next time. :">

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...