Results 1 to 4 of 4

Thread: Execution in background

  1. #1
    Join Date
    Dec 2008
    Posts
    950

    Execution in background

    Hello,

    How can we make the program (a batch file for example) in the background or is not available on Windows?

    and is it going to be a process or service? the question we pose another question: how to make this service (bootable) automatically when Windows starts?

    Thank you!

  2. #2
    Join Date
    Nov 2008
    Posts
    173

    Re: Execution in background

    I think a solution could be to create a vbs script like this:
    Code:
    DIM oWsh, commande
    Set oWsh = WScript.CreateObject("WScript.Shell")
    command = "c:\fichier.bat" 
    oWsh.Run command, 0
    The principle is that vb script allows you to execute a command without using the display option 0 (at the very end of the script).

    you can use the startup script or logon scripts to start your script at startup. You can also add any betement script in your list of startup programs.

  3. #3
    Join Date
    Dec 2008
    Posts
    950

    Re: Execution in background

    Thank you very,

    it is nice, but what is the concept of "background" in windows, and if so what are the commands that allow us to manage the process?

    thank you for being very patient with my questions!

  4. #4
    Join Date
    Nov 2008
    Posts
    173

    Re: Execution in background

    Well what do you mean by "background"? For me in the background means that run but nothing appears. This is not a special mode of operation, it's just a history display.

    the script given above allows you to launch a .bat or any other command windows without this appears to execution.

Similar Threads

  1. WMI execution is different in windows 7
    By $Lola$ in forum Operating Systems
    Replies: 4
    Last Post: 22-02-2011, 08:42 PM
  2. Execution error in exe file
    By D_chapple in forum Operating Systems
    Replies: 3
    Last Post: 09-12-2009, 12:04 PM
  3. Execution of a makefile in C
    By Brake Fail in forum Software Development
    Replies: 4
    Last Post: 17-04-2009, 06:46 PM
  4. Code execution in JAVA
    By jasonR in forum Software Development
    Replies: 1
    Last Post: 27-01-2009, 01:13 PM
  5. Automatic execution.
    By Mirinda in forum Windows Software
    Replies: 2
    Last Post: 19-12-2008, 06:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,581,709.01881 seconds with 16 queries