Start Batch File Minimized via Task Scheduler

Page 2 of 2 FirstFirst 12

  1. Posts : 5
    Windows 7 and 10
    Thread Starter
       02 Feb 2018 #11

    Thanks for your replies. Sad to say, I have never learned VBS, and can't make that investment now, so the VBS suggestions elude me. The Nircmd and shortcut suggestions are familiar, but as far as I can tell they run the batch file invisibly, so that I can't bring it back to fullscreen by coolswitching or clicking on a taskbar icon. I looked at WinAutomation, but it seems the price is $400.

    FreeBooter: interesting script. I'm not sure I get it, though. The script issues commands that, collectively, construct a batch file and then run it minimized. So I would rewrite my batch files to consist of similar commands. What's running, ultimately, is not the commands presently found in my batch file. What's running is the temporary batch file constructed from the lines in my rewritten batch files. It's credible, but damn ungainly.

    Could I do something similar with TYPE or COPY commands that would stick the contents of a normal-looking batch file into a new, temporary batch file that CMD /C would then run minimized? It seems like this shouldn't be hard, but I'm tired and I can't quite wrap my head around it.

    Thanks again, one & all ...
      My ComputerSystem Spec

  2.    02 Feb 2018 #12

    Batch script i posted will Echo all your code line by line to Temp.bat and execute it i know you will have to use Echo command front of all the single codes to copied into Temp.bat file that's best i can think of it for now maybe you can use For command to Echo your codes to Temp.bat file. Make sure to not to Echo cmd.exe /c start /min %tmp%\Test.bat to Temp.bat file. If i come up with something else i let you know.
      My ComputerSystem Spec

  3. Posts : 999
    Windows 10 Home x64 and Pro x86
       02 Feb 2018 #13


    The procedure I posted a link to takes you through the whole thing and you will not need to learn VBS or anything else. And you will not need to spend anything.

      My ComputerSystem Spec

Page 2 of 2 FirstFirst 12

Related Threads
Here's a little script to make a backup of 2 directories: ::can't copy Opera data while Opera is running taskkill /im opera.exe robocopy c:\all e:\Bobback\All /mir robocopy c:\Users\Bob\AppData\Roaming e:\Bobback\Roaming /mir
Hello, I want to start an EXE program Minimized, or better yet, hidden (so I don't see its program in the Taskbar) only when the computer comes back from Hibernate. (This EXE file does the command to delete the hiberfil.sys file.) It only runs for a...
I want run this bat file from task scheduler Rem %pf% expands to the right program location depending if it is x86 or x64 system @setlocal @set pf=%ProgramFiles% @if not ""=="" set pf=%ProgramFiles(x86)% Rem %macropath% expands to the demo...
Hello Community! I'm trying to get BBC iPlayer downloads to start automagically at 2100 so that it can start downloading Doctor Who. I'd like it to start minimized, but I am unsure how to do so. In addition to this, does anyone know if there...
I've been trying to figure this out for a while now and I can't. I've looked at tons of small tips online to get this working but it doesn't work at all. I have a batch file which causes various programs to start when opened. However, one of them...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:07.
Find Us