[SOLVED] How to Keep Command Prompt Programs Running?

It's been a while, but you can simply echo the entire screen (dos characters) from any cmd commands you run and pipe that into a text file. Store that text file in the temp folder and your batch can simply open that text file after all commands are done.

Now, I might be putting my tinfoil hat on here, but if you are running things like repair scripts as part of a routine check for every PC you work on, you are bound to hit a bug. My first rule these days is if it's not broke don't fix it. Just because a tool exists doesn't mean you can use it daily. I mean, look at horror stories from chkdsk, something many folks would have thought nothing about running.

I always verify the hardware first. That eliminates further errors and degradation. Then once any hardware issues are fixed, I can look at software. I only look into what doesn't work.

There was a time when techs were obsessed (me included) with endless tuneups and tweaks, optimizations. But those days are gone. In fact doing those things can cause more headaches than they solve.

My 2 cents.
 
There was a time when techs were obsessed (me included) with endless tuneups and tweaks, optimizations. But those days are gone. In fact doing those things can cause more headaches than they solve.

A-freakin'-men! Those days are long gone, and I don't miss them one bit.

And the old adage, "If it ain't broke, don't fix it!," absolutely applies. There is no reason to run utilities like DISM or SFC as "routine preventive maintenance."

We've also had someone who's a data recovery professional mention (in this very thread, I believe) that CHKDSK should be abandoned.

It is just astounding how much less "care and feeding" operating systems, all of them, need now than they once did. They generally manage themselves (via algorithms written by some very clever OS coders) far better than most humans hoping to optimize them ever did, and actually get less optimal with any intervention in many cases.
 
They generally manage themselves (via algorithms written by some very clever OS coders) far better than most humans hoping to optimize them ever did …
This is absolutely true. The downside is that the OS needs slack (powered on but without user activity) time to undertake its housekeeping tasks. This is the biggest educational activity that I now have with users – don't switch on, check email and Facebook, then close the lid!
 
I actuaaly use a cute GUI to run comands. saves me making scripts and batch files. I do not if it is still available or not.
View attachment 13411
I use something similar to this. If you dont want to remember all the commands i recommend getting this. I cannot remember where i originally got it, but if you search for "Image-Health" you may find it. This even copies the output log file to the desktop so you can easily find it
 
I just use UVK. But a rarely automate anything anymore. I bought one of those automatic tools years ago that would clean, defrag, remove viruses and make your coffee, etc. But the damn thing would blow up and eat its reports and I had no idea what it found and fixed. Can't remember the name of it now but that soured me on doing any of this automatically. Yes, I have UVK but I almost never use it, and even when I do I manually do a single process and get the report. Once burned twice shy as they say.
 
This is the biggest educational activity that I now have with users – don't switch on, check email and Facebook, then close the lid!

One of the things I tell my clients is that they should leave their computers up and running overnight at least once per week. Better to fire them up in the morning and keep them that way whether you're at the keyboard each day you use them if you don't want to keep it on overnight at all.

So much stuff, including updates, is intentionally set up to occur during idle time, and on business machines there's plenty of that, and on residential machines where people don't treat the computer like something you constantly turn off and on there's plenty of that, too.
 
Ugh yes... and it's always some A type CEO that thinks he or she is God's gift to the world that refuses to leave the machine on overnight every so often, insists on max battery power settings, and then calls and screams every month when their laptop inevitably forces a reboot in the middle of a "very important" meeting... a meeting that's so important they didn't bother to show up to the conference room with more than 30 seconds to spare.
 
When I click on the above URL, under Brave or MS-Edge, I get:

{"message":"Could not find nonce","errorCode":"GETITEMFORNONCE","timeStamp":"2022-01-17T18:40:26.478","requestId":"adc7b1c5-5917-424a-b622-c29de948d306"}
Just got home I will get a new link ready in a bit
 
Do you, by any chance, have any documentation related to this program (or if there's some online somewhere)?
The menu is self-explanatory. It was created and distributed by a well-known member on the tenforums.
I have used it on Win 10 and 11.
I usually run # 9,6 and 7 to finish a repair. Do not usually need the rest.
I do out of habit run it as admin. Sorry about the self-extracting file.
 
Have you tried to put the "pause" on a separate line, i.e.:
sfc xxxx
pause

When running batch scripts I found out, they actually pause if I click on their windows, and "un-pause" when I click again...
Turn off QuickEdit Mode
 
Back
Top