Results 1 to 7 of 7

Thread: How to run batch file hidden in dos window

  1. #1
    Join Date
    Sep 2010
    Posts
    75

    How to run batch file hidden in dos window

    Hi, Iím using windows xp, I use to play games for long hours. So I want batch file running frequently which kill at least two processes and then they restart it. I want this batch file to run hidden so that I donít go to desktop again and again while playing the games. Can anyone guide me to how to do this? I had made a bit search on internet but I dint cum up with anything and whatever Iím getting is not working. Any help regarding to this will be extremely appreciated.

  2. #2
    Join Date
    Jun 2009
    Posts
    1,518

    Re: How to run batch file hidden in dos window

    Even I was trying to do the same and I had tried many things. My problem is whenever Iím trying to check the task killer it shows some kind of feedback or a kind of report. And whenever I try to open that it redirects me to cmd window which say Succuss bla bla killed guiminer which is not running and I always move to desktop. So does anyone know what may be the cause of the problem? Please guide me for the same.

  3. #3
    Join Date
    Mar 2010
    Posts
    204

    Re: How to run batch file hidden in dos window

    Whenever I try to check my task killer and click on report it says failed bla bla guiminer is not working.
    Code:
    < Set WshShell = CreateObject("WScript.Shell")> <WshShell.Run chr(34) & "G:\Users\Sebz4n_GAME_OS2\Desktop\Restart> <GUIMiner.bat" & Chr(34), 0>
    <Set WshShell = Nothing> this is my .vbs script in the batch file which is running hidden and even this which is not running hidden 
    <start TASKKILL /F /IM "guiminer.exe"><start TASKKILL /F /IM "poclbm.exe">
    <PING 1.1.1.1 -n 1 -w 1000 > NUL> <start /d "G:\Users\Sebz4n_GAME_OS2\Desktop\GUIMiner\" miner.lnk>
    is there any way to run this batch file hidden.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,259

    Re: How to run batch file hidden in dos window

    When I’m click on the report file it say that PID not found for the .exe file even that file is working. How can I get rid from this problem? I had tried it to the test file but that is also dint help me out. The code which I had used is
    Code:
    <start TASKKILL /F /IM "guiminer.exe" > testlog1.txt> 
    <start TASKKILL /F /IM "poclbm.exe" > testlog1.txt> 
    <PING 1.1.1.1 -n 1 -w 1000 > NUL>  
    <start /d "G:\Users\Sebz4n_GAME_OS2\Desktop\GUIMiner\" miner.lnk>

  5. #5
    Join Date
    May 2008
    Posts
    913

    Re: How to run batch file hidden in dos window

    Itís not a big issue I just love to work in batch file. I want to ask have you run that batch file as an administrator. Just cross check your batch file and in task killer try to put the pause command which may look like this
    Code:
    <Start TASKKILL /F /IM "guiminer.exe">
    pause
    <start TASKKILL /F /IM "poclbm.exe">
    pause
    <PING 1.1.1.1 -n 1 -w 1000 > NUL>
    <start /d "G:\Users\Sebz4n_GAME_OS2\Desktop\GUIMiner\" miner.lnk>

  6. #6
    Join Date
    Nov 2008
    Posts
    1,221

    Re: How to run batch file hidden in dos window

    Even I was facing the same issue with the batch file and the pause code really helps me out and now everything is working fine. I had done a bit search regarding this and had come up with few things. If pause code doesnít work for you then you may try this code
    Code:
    <TASKKILL /F /IM "guiminer.exe" > NUL
    <TASKKILL /F /IM "poclbm.exe" >NUL
    <PING 1.1.1.1 -n 1 -w 1000 > NUL 
    <start /d "G:\Users\Sebz4n_GAME_OS2\Desktop\GUIMiner\" miner.lnk>

  7. #7
    Join Date
    Mar 2010
    Posts
    306

    Re: How to run batch file hidden in dos window

    I donít know much about the DOS but I had done with the Microsoft window now Iím able to run the batch file without interrupting any of my process. You can do this by using the command prompt. You can use the command for batch file to which do not affect any user operation which is going on. For myfile.bat which is an batch file you just need to use this command start /min myfile.bat in command prompt and you can search for other option at Microsoft site.

Similar Threads

  1. Shutdown window after running batch file
    By Jaiwanti in forum Operating Systems
    Replies: 4
    Last Post: 13-12-2010, 05:25 PM
  2. How to exit a Windows MS-DOS window through a batch file.
    By Juaquine in forum Operating Systems
    Replies: 4
    Last Post: 27-03-2010, 05:31 PM
  3. Several. Msc window from a batch / script call?
    By Stephanatic in forum Technology & Internet
    Replies: 2
    Last Post: 26-11-2008, 04:26 PM
  4. Hidden Fax Window
    By lernme in forum Windows XP Support
    Replies: 4
    Last Post: 09-11-2008, 12:28 AM
  5. Shell Icon Hidden Window...what is this?
    By Mr. Lopez in forum Windows XP Support
    Replies: 1
    Last Post: 29-03-2006, 08:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •