Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


how to hide firefox/ chrome/ all programs with bat file (windows)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

how to hide firefox/ chrome/ all programs with bat file (windows)

orelorel Member

hide firefox/ chrome/ all programs with bat file (windows)
someone know how?
after run firefox with bat file (start "" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe") i want hide him to save ram and CPU.

Comments

  • WHTWHT Member

    Hide(minimize) or close?

  • For your traffic exchange/inflate YouTube views?

  • RizRiz Member

    Powershell.

    $shell = New-Object -ComObject >"Shell.Application" $shell.minimizeall()

  • Yeah.. you joined today, and this is your first post.
    You know very well this isn't a tech support forum, and you know very well that just hiding your windows isn't saving you any resources.

    Get your traffic exchange out of here.

  • @dailymc said:
    Yeah.. you joined today, and this is your first post.
    You know very well this isn't a tech support forum, and you know very well that just hiding your windows isn't saving you any resources.

    Get your traffic exchange out of here.

    sorry to tell you but its not TE..
    " isn't saving you any resources." tell that to my VPS... 100% saving CPU.

  • orel said: TE

    Interesting that you know the abbreviation.

  • @Ishaq said:

    >

    I'm sure a lot of us know the abbreviation

  • @Ishaq said:
    Interesting that you know the abbreviation.

    i know what is TE sites, but i dont use this... im sure that everyone that make money online know what is TE.

  • Hiding won't save resources unless you want to close it that be a different thing.

    Thanked by 2VyprNetworks namhuy
  • do it with

    ALT+F4

    Thanked by 2Mathias miTgiB
  • FlamesRunnerFlamesRunner Member
    edited January 2016

    If it'll get you to stop, use "taskkill".

    Example:

    taskkill /f /im chrome.exe
    taskkill /f /im firefox.exe
    

    Where chrome.exe = Chrome, and firefox.exe = Firefox.

  • @Riz said:
    Powershell.

    $shell = New-Object -ComObject >"Shell.Application" $shell.minimizeall()

    i put type it on the bat file.. its not works :/

  • @FlamesRunner said:
    If it'll get you to stop, use "taskkill".

    Example:

    > taskkill /f /im chrome.exe
    > taskkill /f /im firefox.exe
    > 

    Where chrome.exe = Chrome, and firefox.exe = Firefox.

    its not hide the firefox... its close it...

  • @WHT said:
    Hide(minimize) or close?

    minimize please.

  • @orel said:
    its not hide the firefox... its close it...

    Made my day.

  • @orel said:
    minimize please.

    Press the damn minimize button???

    Your BS in your OP is about -9000% sense. Hide Firefox and save RAM and CPU... This is called "Closing Firefox". There is absolutely no way to hide Firefox and save the RAM and CPU that it used.

    Even if you're running software like BossKey... Firefox is still running in the background and using RAM and CPU for the content that it loaded.

    Do you even know what computers are and how they work?

    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran

    It was just a misunderstanding

  • Windows button + D

  • There is absolutely no way to hide Firefox and save the RAM and CPU that it used.

    Wouldn't be so sure about that w.r.t the CPU anyway. Unless... you know for sure? Going on anecdotal evidence... Firefox won't fire certain event based situations where the browser is not visible and/or focused. The GUI is a CPU hog and perhaps the OS/browser skip a few things when the window isn't visible. source: working with xdotool, firefox, mozrepl on linux.

    Thanked by 1orel
  • farsighterfarsighter Member
    edited January 2016

    Maybe you just want to checkpoint Firefox & Chrome and save their state to disk? That's the only way it won't consume RAM & CPU (and you can of course hide/encrypt those image files).
    I know how to do that on Linux but on Windows never bothered to learn. There should be ways I guess.

    Anyway why do you need a bat file? If your goal is to automate dubious activity on school PCs/friends' PC/internet-cafe this is probably not the place to get help.

    Thanked by 1orel
  • @ricardo said:
    Wouldn't be so sure about that w.r.t the CPU anyway. Unless... you know for sure? Going on anecdotal evidence... Firefox won't fire certain event based situations where the browser is not visible and/or focused. The GUI is a CPU hog and perhaps the OS/browser skip a few things when the window isn't visible. source: working with xdotool, firefox, mozrepl on linux.

    You might be able to save a bit of resources because as you said in some situations like minimized window or hidden window (through software like BossKey and similar) the applications indeed use a bit less resources as the GUI is not being rendered and thus resource usage drops.

    My point is that OP wants to magically hide Firefox without shutting it down and save all the RAM and CPU. This not going to work. You have to close Firefox to achieve that. If OP would atleast try better to explain what they want the situation here might have been better.

    You can't save all the resources the browser is using while it's running. You should know that I suppose. A lot of things are preloaded into RAM or else that thing would be 1000x slower than any other browser if it would not do that.

    So there is no magic way to keep Firefox running, hide the window and magically save all the resources it uses to have some state of "hehehe muahaha I'm evil... I've hidden Firefox so well that it looks like it isn't running at all".

    Thanked by 1ricardo
  • You have to close Firefox to achieve that. If OP would atleast try better to explain what they want the situation here might have been better.

    Indeed. ESL though, I think.

    farsighter's suggestion sounds like the most elegant solution to the (potential) question.

  • orelorel Member
    edited January 2016

    @lamron said:
    So there is no magic way to keep Firefox running, hide the window and magically save all the resources it uses to have some state of "hehehe muahaha I'm evil... I've hidden Firefox so well that it looks like it isn't running at all".

    "My point is that OP wants to magically hide Firefox without shutting it down and save all the RAM and CPU."
    im sorry that you understand me like that... im using like 30GB ram and 35% CPU when the firefox are not minimized, but when i minimize them its go to 90-70% of that (the CPU go to 20% and this is great)...
    thanks anyway.

  • Thanked by 1daily
  • NyrNyr Community Contributor, Veteran

    orel said: im using like 30GB ram and 35% CPU when the firefox are not minimized

    What you are using it for? 30GB is a LOT.

    I'm also surprised that it just doesn't hang forever at this usage.

  • cof cof porn.... cof cof

    Nyr said: What you are using it for?

  • MaouniqueMaounique Host Rep, Veteran

    I found that minimizing windows DOES have a great impact on the cpu and gpu. If the display is emulated and there is heavy flash and whatever content, minimizing lowers the load significantly.
    I am not sure about the ram part, though, in theory it would also make sense, not rendering something should save ram especially on emulated hardware.

  • I still smell TE all over this situation.

Sign In or Register to comment.