Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #159050

Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)?

From Andy Burnelli <spam@nospam.com>
Newsgroups alt.comp.os.windows-10, alt.msdos.batch, alt.comp.microsoft.windows
Subject Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)?
Date 2022-04-23 17:53 +0100
Organization Aioe.org NNTP Server
Message-ID <t41at0$fa0$1@gioia.aioe.org> (permalink)
References (8 earlier) <t3v6h6$ol9$1@gioia.aioe.org> <t408to$pcd$1@gioia.aioe.org> <t40rr2$93a$1@gioia.aioe.org> <t414hd$1ncm$1@gioia.aioe.org> <t4155o$11d$1@gioia.aioe.org>

Cross-posted to 3 groups.

Show all headers | View raw


Herbert Kleebauer wrote:

> You have to do the cd before creating the exe

That's maybe why the one test of calling the showwin.bat
by its full path didn't work when run directly out of the Windows registry.
 <https://i.postimg.cc/66Gn2t2g/scrcpy09.jpg>

I'll switch the order to bring up the CD earlier after I post this.

But that's OK because _all_ the other tests worked perfectly; 
and, likely I could have put the full path in the batch file
and then that one test would also have worked (most likely).

> I don't understand why you want to hide the console,

I forgot to answer this perfectly valid question from you.
I apologize. 

The reason is that the scrcpy console does nothing for me.
a. The console just gets in the way (as it has no way to interact with it).
b. The scrcpy console has to be manually minimized to get it out of the way.
c. And the scrcpy console uses up a precious slot on the taskbar.
d. Plus, it doesn't tell me anything that I want to know (if things work).

All of that is bad. None of that is good.
It's not horrible. But there's nothing good about any of that.

With the batch script, there is now no need to deal with the scrcpy console!
Thank you for helping me, and by way of extension, all the lurkers too.

BTW, here are the screenshots all together that were made for this thread.
 <https://i.postimg.cc/CxXH6N2r/scrcpy13.jpg> No scrcpy console window!
 <https://i.postimg.cc/yYKNnHxD/scrcpy12.jpg> REG test of showwin.lnk
 <https://i.postimg.cc/7LWJhWxq/scrcpy11.jpg> Shortcut test of showwin.lnk
 <https://i.postimg.cc/htMdWG6z/scrcpy10.jpg> The console came up :(
 <https://i.postimg.cc/66Gn2t2g/scrcpy09.jpg> REG test of showwin.bat
 <https://i.postimg.cc/nV6K0Cfn/scrcpy08.jpg> CMD test of showwin.bat 
 <https://i.postimg.cc/hjkVFyqJ/scrcpy07.jpg> Android mnt as drive letter
 <https://i.postimg.cc/Sx1hgWmY/scrcpy06.jpg> Press two hardware buttons
 <https://i.postimg.cc/wvsbcNBz/scrcpy05.jpg> Drag APK from Windows
 <https://i.postimg.cc/Y00vx4yp/scrcpy04.jpg> Extraneous cmd window (&)
 <https://i.postimg.cc/Vvrq0K0m/scrcpy03.jpg> The efficient setup explained
 <https://i.postimg.cc/tTmdgKTB/scrcpy02.jpg> An efficient program setup
 <https://i.postimg.cc/N0G1TXcZ/scrcpy01.jpg> Mirror Android on any PC

In summary, with this set of solutions, anyone can instantly mirror
their Android phone on their PC (Windows, linux, or macOS) with a
shortcut (or Win+R command) without having to deal with the scrcpy
console window popping up and getting into the way of their nice setup!

Thanks for me and for the permanent Usenet record for others to benefit.
 <http://groups.google.com/g/alt.msdos.bat>
 <http://groups.google.com/g/alt.comp.microsoft.windows>

Specifically:
 <https://groups.google.com/g/alt.msdos.batch/c/DmexCLwn_tM>
 <https://groups.google.com/g/alt.comp.microsoft.windows/c/eMYBmpq2H50>

Note "alt.comp.os.windows-10" is poorly archived so it's not listed above.
-- 
Usenet is a world-wide team sport where purposefully helpful kind-hearted 
adults help each other and learn by pooling our individual capabilities.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-21 18:42 +0100
  Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? "Kerr-Mudd, John" <admin@127.0.0.1> - 2022-04-21 20:43 +0100
    Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-21 21:57 +0100
      Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-21 23:57 +0200
        Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-22 02:07 +0100
          Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-22 02:18 +0100
          Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-22 07:45 +0200
            Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-22 09:32 +0100
              Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burns <usenet@andyburns.uk> - 2022-04-22 10:23 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? MikeS <MikeS@fred.com> - 2022-04-22 13:06 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? "Kerr-Mudd, John" <admin@127.0.0.1> - 2022-04-22 13:28 +0100
              Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-22 13:40 +0200
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-22 22:26 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-23 09:12 +0200
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 13:36 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-23 17:04 +0200
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-23 17:07 +0200
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 20:13 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-23 17:15 +0200
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 17:53 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 17:22 +0100
                Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-29 17:49 +0100
  Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 14:17 +0100
    Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 14:25 +0100
  Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Robert Roland <fake@ddress.no> - 2022-04-23 15:46 +0200
    Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-23 15:59 +0100
      Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Robert Roland <fake@ddress.no> - 2022-04-24 00:34 +0200
        Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-24 04:09 +0100
          Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Herbert Kleebauer <klee@unibwm.de> - 2022-04-24 18:07 +0200
            Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-25 01:06 +0100
    The various kinds of Windows applications... (Was: Is there a way to put a command window in the background like Linux does (so that you can kill it)?) gazelle@shell.xmission.com (Kenny McCormack) - 2022-04-24 12:44 +0000
      Re: The various kinds of Windows applications... (Was: Is there a way to put a command window in the background like Linux does (so that you can kill it)?) Andy Burnelli <spam@nospam.com> - 2022-04-27 12:14 +0100
  Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2022-04-24 00:19 +0800
    Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-29 16:54 +0100
  Re: Is there a way to put a command window in the background like Linux does (so that you can kill it)? Andy Burnelli <spam@nospam.com> - 2022-04-27 12:19 +0100

csiph-web