NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 34 35 36 37 38 … 159 Next »
help with hiding cmd windows

 
  • 0 Vote(s) - 0 Average
help with hiding cmd windows
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#1
2010-11-30, 09:22 PM
I'm starting to tweak my htpc again and would like to find out how you guys are hiding the cmd window for batch files.

In particular, I'm using ffmpeg to convert my recordings and I'd like to know how to hide the daughter window showing the progress and stuff like that.

thanks.
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
pcostanza
Offline

Posting Freak

Posts: 3,778
Threads: 270
Joined: Oct 2004
#2
2010-11-30, 09:26 PM
What I know about this stuff could fit in a thimble but maybe just maybe in case the smart ones don't have time to post, some of this will be hellpful.
http://www.joeware.net/freetools/tools/quiet/index.htm

http://www.ericphelps.com/batch/samples/invisible.txt


Paul


Custom ASUS Maximus X Hero, 16 GB Memory-ASUS GeForce 1050 Ti, H115i Pro AIO, 850W PS, CM H500P case, Corsair Vengeance RGB Ram, Samsung 970 EVO, HDHomerun Prime & Extend  Tuners- running Windows 10 (and other goodies)
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#3
2010-11-30, 10:01 PM
If I am calling a batch file from within (say) postprocessing.bat I do this

start /low /wait /min <appname> %1
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2010-12-01, 09:51 AM
usually i just do the minimize trick like he said, but i like the last one on that page:
Code:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
save as hidden.vbs and run with "wscript path\hidden.vbs path\batchfile.bat"
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#5
2010-12-08, 04:19 PM
I run a batch file through some vbs...and using both PBS and gED's comments it worked. The windows are hidden but focus is stolen and returned once it's done transcoding. The focus isn't a problem b/c I've got pause, play and menu mapped to regain focus.

Thanks. All good now.
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple PIP windows in Firefox Graham 0 1,715 2020-09-25, 11:45 AM
Last Post: Graham
  Why Do People Upgrade to Windows 10? ga_mueller 12 8,073 2019-08-11, 01:21 PM
Last Post: Ludron
  Windows 10 Ramdrive for buffer PaulW 1 1,714 2018-10-16, 10:45 PM
Last Post: gEd
  Downgrade Windows Reddwarf 9 4,369 2017-05-26, 07:12 PM
Last Post: tonyjohn29
  Windows 10 Preview removes command prompt p37307 13 5,558 2016-12-10, 03:49 AM
Last Post: johnsonx42
  Windows 10 Update September 29, 2016 — KB3194496 p37307 0 2,624 2016-09-30, 09:32 AM
Last Post: p37307
  Windows 10 Anniversary NPVR fullscreen flicker and freeze fix p37307 1 3,182 2016-08-11, 02:59 AM
Last Post: sub
  windows 10 jrhcom 3 3,259 2015-10-07, 10:43 PM
Last Post: jrhcom
  Windows 10 DVD Player app craigrs84 10 6,648 2015-09-10, 11:06 PM
Last Post: sub
  NPVR getting some props now that Windows Media Center is going away pcostanza 6 4,041 2015-08-24, 10:20 PM
Last Post: johnsonx42

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode