home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,024 of 42,547   
   Herbert Kleebauer to Andy Burnelli   
   Re: Is there a way to put a command wind   
   22 Apr 22 13:40:23   
   
   XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows   
   From: klee@unibwm.de   
      
   On 22.04.2022 10:32, Andy Burnelli wrote:   
   > Herbert Kleebauer wrote:   
   >   
   >> Why don't you just try your command with an added "start" before "scrcpy":   
   >> %comspec% /c cd /d "c:\app\editor\android\scrcpy" && adb connect   
   192.168.0.2:5555 && start scrcpy --always-on-top --tcpip=192.168.0.2:5555   
      
   I don't know how you enter this command. If you type R and enter the   
   following line:   
      
     %comspec% /c cd /d "c:\app\editor\android\scrcpy" && start notepad   
      
   notepad is started and the CMD window then closed. If you remove the   
   "start", the CMD window stays open until you exit notepad.   
      
   If you enter this command in an already open CMD window, then   
   it doesn't make any sense to start a new CMD window, just start a   
   batch with this content (or directly type the lines in the   
   open CMD window):   
      
   cd /d "c:\app\editor\android\scrcpy"   
   adb connect 192.168.0.2:5555   
   start scrcpy --always-on-top --tcpip=192.168.0.2:5555   
   exit   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca