Latest posts of: MilesAhead - DonationCoder.com
Welcome Guest.   Make a donation to an author on the site July 01, 2015, 08:00:27 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1] 2 3 4 5 6 ... 234 Next
1  Main Area and Open Discussion / General Software Discussion / Re: Windows 10 Announced on: Today at 11:24:53 AM

Bit late on that news ... Scroll ^up^ to 7:45 this morning. cheesy

That can happen without coffee.  smiley
2  Main Area and Open Discussion / General Software Discussion / Build 10159 on: Today at 09:57:52 AM
Build 10159
3  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 09:30:16 AM

For Process Hacker, you must hover the mouse pointer on the systray icon of the program for some seconds, and that's show up the window, unfortunately only in this windows the process are grouped.

Thanks.  I see it now.  smiley

Edit:  btw your script works.  smiley

[copy or print]
@echo off
set /a total=0
for /f "tokens=5 delims=," %%a in ('tasklist /FI "IMAGENAME eq %1*" /FO CSV /NH') do set /a total+=%%a
echo %total%MB
set total=
4  Main Area and Open Discussion / General Software Discussion / Re: Windows 10 Announced on: Today at 09:14:22 AM
Since one of our lab machines won't upgrade from 10130 (failed 3 times), I'm experimenting with this now:
http://www.zdnet.com/arti...s-10-upgrade-into-an-iso/

Fairly quick and easy way to create a current ISO.

Yeah, on TenForums that tool has been around for quite some time.  It sucks an iso out of the erd mess.  I ran it once and it worked.  What kills me on this laptop is doing stuff in a VM with all the file clutter when you first try to update or whatever, stuff barely runs.  Once I can clean out all the rubbish and defrag the VM and the host OS file system, then stuff is slow but at least it doesn't crash or stutter.  But it's too painful to really do anything.

A Windows 7 Vista or Linux a little bit different story.  The VMs run well enough to try them out a bit.  The HD in this is only a Sata II so that tends to make VMs slog.  smiley
5  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 09:09:20 AM
If you get an error from running a posh script, just read the given message to solved that issue.
If you ask for help, give details what and how you do things and which error you get, best, copy there & paste here.
I just found my crystal bowl broken, sorry  tongue



 

I already mentioned twice there was no error message.  This is not worth spending more time on.  Thanks for the input.
6  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 09:07:52 AM
Well, you can try to get something similar with tasklist and an AWK for windows or similar (like advanced calculation using FOR command).
For task manager, try Process Hacker, work quite well.

I have the latest process hacker. I don't see any utility to total the memory usage for process instances.

[attach]
7  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 08:55:12 AM
First time also I have got several error with PowerShell and this script  Angry
If I remember well, you must enable some authorization, and when you launch by commandline you must enter the FULL path of the script.

I changed the setting to unrestricted.  But as I mentioned before, running the script the cursor just goes back to the prompt. No error no nothing.  I have no intention of doing stuff with Powershell so it is not really worth delving into it. In fact I should probably change the setting back to block scripts.

I am just surprised no task manager clone I tried does this.  I wonder if Linux top command does.  Most likely it did a decade ago.  smiley
8  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 07:32:04 AM
And how are you running this script?  I don't think I've seen a powershell I've tried that ran as advertised.  There's always some gotcha'


 
But no need for PSv4, the above script even works in PSv2 and v3

One can test in launching PS as: powershell -version 2.0

And you can force a script to run a specific PS version

(Both above mentioned ways if required PS and .NET version is installed)



Formatted for C++ with the GeSHI Syntax Highlighter [copy or print]
  1. #Requires -version 2.0
  2. $host.version
  3. $myProcess = "TOTALCMD"
  4. $ProcessData = get-process $myProcess -ErrorAction SilentlyContinue
  5. if ($ProcessData -ne $null)
  6. {
  7. $m = ps $myProcess | measure PM -Sum ; ("$myProcess Physical Memory {0:N2}MB " -f ($m.sum / 1mb))
  8. $m = ps $myProcess | measure WS -Sum ; ("$myProcess Working Set {0:N0}MB " -f ($m.sum / 1mb))
  9. }
  10. read-host Done! Press Enter to exit...


Quote from: Output
 Major  Minor  Build  Revision
-----  -----  -----  --------
4      0      -1     -1
TOTALCMD Physical Memory 20,09MB
TOTALCMD Working Set 37MB
Done! Press Enter to exit...:

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1
TOTALCMD Physical Memory 20,15MB
TOTALCMD Working Set 37MB
Done! Press Enter to exit...:



 
9  Main Area and Open Discussion / General Software Discussion / Re: Looking for Software with this feature on: Today at 07:17:00 AM
In the Other options in the help it says there can be a command to run before the copy starts.  I don't see where to specify it.  But since it is a move you could conceivably scan looking for collisions and do a rename on the target end and do the move.  Once those are all out of the way, assuming we figure out how to do the command, the regular copy process commences.  Since the source has already been deleted the collision should not recur.
10  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 06:51:15 AM
It says on Technet I have to get W 8.1 to install PS 4.0 thumb down

Not according to this Technet page.

Quote
Windows PowerShell 4.0 runs on the following versions of Windows.
  • Windows 8.1, installed by default
  • Windows Server 2012 R2, installed by default
  • Windows® 7 with Service Pack 1, install Windows Management Framework 4.0 to run Windows PowerShell 4.0
  • Windows Server® 2008 R2 with Service Pack 1, install Windows Management Framework 4.0 to run Windows PowerShell 4.0

Nowhere in the list do I see Windows 8.0


Quote
Quote
I never like PS anyway.  smiley

That's just the age old fear of the new and unknown talking  Wink

I don't think so.  I did bash sh and zsh scripting on Linux where there was some rhyme and reason involved.  smiley
11  Main Area and Open Discussion / General Software Discussion / Re: Windows 10 Announced on: Today at 05:49:54 AM
Anyone know how to get Windows 10 to update immediately? I've checked for updates and it often says "We found updates, we'll download them later."

Uh, no. Now is good for me, thanks. But I can't seem to find the option to force it to download now.

I'm on the fast ring, with "Delay Updates" disabled.

I would also ask here:
http://www.tenforums.com/windows-10-news/

Lots of people with multiple machines running various preview builds installed both through update and ISO images.  Plus the Main Mod Brink has a tutorial for just about everything.  He may chime in.
12  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 05:45:49 AM
It says on Technet I have to get W 8.1 to install PS 4.0 thumb down

This Laptop often will not complete a restore point.  Never mind doing updates.  I'll use some other method.  I never like PS anyway.  smiley
13  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: Today at 05:41:20 AM
Edit: got it to stop giving an error.  But when I run the script it just comes back to the prompt.  No busy cursor, no output no nothing.

Given what @Cocoa has just gone through with my Powershell script here, it may pay to check what version you're running and update if necessary.

To check the version, open a Powershell and enter: $PSVersionTable.PSVersion

You should get 4.0 if you're running the latest.

I get 3.0.-1.-1

First time I ever saw negative build numbers?
14  Main Area and Open Discussion / General Software Discussion / Re: Looking for Software with this feature on: June 30, 2015, 04:16:47 PM
This link has a description of the features for RichCopy

RichCopy Tutorial
15  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: June 30, 2015, 03:33:36 PM
I could write a program by the time I can figure out how to turn this thing on.  I guess that's why I've never used Powershell.  The enable command line never does.

Edit: got it to stop giving an error.  But when I run the script it just comes back to the prompt.  No busy cursor, no output no nothing.

16  Main Area and Open Discussion / General Software Discussion / Re: Free Task Manager total resources for multiple instances? on: June 30, 2015, 02:34:27 PM
To get the total memory of a multi-process you can use a little PowerShell script


Thanks for the script and the tip.    Thmbsup
17  Main Area and Open Discussion / Living Room / Re: Save Domain Privacy on: June 30, 2015, 12:55:41 PM
There are not company identifiers.  It's not a company.  It's just personal sites that I've registered.

In that case I would agree with you.  Especially after having my free domain yanked without consulting me.  It is really a paranoid world these days.  If you subject your code to 57 virus scanners and get 2 red flags and 55 green ones, nobody says "you got 55 green flags out of 57."  They say "you got 2 red flags."  It's retahded as we used to say in Boston.  smiley
18  Main Area and Open Discussion / General Software Discussion / Re: Windows 10 Announced on: June 30, 2015, 12:00:23 PM

Oh FFS! ...The icon for their "All New" MS Edge browser, is a $^%#& Blue 'E'!!?! Seriously??!!??

I don't doubt they changed the name from Spartan to Edge just so they could use a morphed blue E.  After all, there were probably hundreds of variations of blue Es just lying around gathering dust.  smiley
19  Main Area and Open Discussion / Living Room / Re: Save Domain Privacy on: June 30, 2015, 11:53:16 AM
In the WHOIS and web searches, my address does not come up, and neither does my name.  The privacy concern is the one that comes up.  The only way it is even associated is if you did not do so at the time of registration it hit the internet, so is saved if you know how to look for it, or if you, as you said, registered as a company, which is not my concern.

I understand. But I suggest searching with the regular search engines if there are any company identifiers on your site.  I guess the guys at ICCAN may be too lazy to use more than a whois search.  But once the state and name of your LLC are out there it is a matter of public record if anyone wants to take the time to look for it, the contact info of the manager/agent.  For a few dollars it may be worth it I suppose.
20  Main Area and Open Discussion / Living Room / Re: Save Domain Privacy on: June 30, 2015, 10:15:29 AM
I noticed this change too when I just registered a new domain.  I didn't shell out the extra bucks for the fake WHOIS info this time around.  Not only that but if you registered a company and you are the registered manager such as for an LLC, the stuff is coming up in web search anyway.  Anyone knows the name of the LLC then very likely the search engine is going to spit out your street address and phone number.

Yet another reason I stopped shelling out for company names just so I could shell out more to file annual reports.  I suppose if you have a company making real money you have to.  But people don't even have to go to the government web site to search out the LLC manager's contact info.  It just comes up.

Time to move to a gated community or dig a moat around the house.  smiley
21  Main Area and Open Discussion / General Software Discussion / Re: Looking for Software with this feature on: June 30, 2015, 09:33:51 AM
I would take a look at RichCopy

It was written by a Microsoft Employee so it likely has rules or filters xcopy and robocopy do not.
22  Main Area and Open Discussion / Living Room / Re: Patent your mom tips on: June 30, 2015, 06:42:08 AM
I don't get it. What's a mom stick? huh

A parody of those stupid, useless but expensive products that companies try to convince first time moms that they need to buy, otherwise their kid will end up all screwed up.

Kind of like this one. That's a "Mom Stick", right there.

https://en.wikipedia.org/wiki/Psychic_driving

All those "learn while you sleep" deals use the gimjmick above.
23  Main Area and Open Discussion / General Software Discussion / Re: Windows 10 Announced on: June 30, 2015, 05:42:50 AM
Build 10158 for PCs
24  Main Area and Open Discussion / Living Room / Re: The end of the hard disk on: June 30, 2015, 05:29:22 AM
Like optical media perhaps smiley

HD don't skip across the pond as well.  Those 3 1/2"ers make a big splash.  smiley
25  Main Area and Open Discussion / General Software Discussion / Re: when Google fails..DC! Cut and paste text adding double carriage return option on: June 29, 2015, 01:17:46 PM
Or even better and simpler

[copy or print]
SendMode Input
return

^+v::
  Send ^v{Enter 2}
return
Pages: [1] 2 3 4 5 6 ... 234 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.053s | Server load: 0.27 ]


Share on Facebook
submit to reddit