Reputation
1,166
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 9
Newest
 Nice Answer
Impact
~191k people reached

Jun
30
comment Windows command prompt: how to get the count of all files in current directory?
@NealWalters: This was correct until PowerShell v3. Since then it doesn't matter.
Jun
5
awarded  Nice Answer
Dec
10
awarded  Excavator
Jul
18
awarded  Yearling
Mar
25
comment How does Windows handle program dependencies?
@Navin, I would doubt the smaller claim because the runtime is almost certainly already in memory due to another application.
Jan
22
comment Locale-unaware %DATE% and %TIME% in batch files?
It's a bit hard finding and updating all old instances where you wrote something :). I'd probably use Win32_UTCTime and Win32_LocalTime by now.
Jan
21
awarded  Nice Answer
Jan
18
comment Powershell challenge
Quoting from the question: »Find the quickest and easiest way of sorting a directory listing by the LAST character of the filenames.«. It just needs to sort by the last character. If the easiest way of doing so is reversing the string, so be it, but if the easiest way of doing so is by just sorting by the last character, then this solves the task as well. The question wasn't about »How can I do this snippet of Unix shell exactly the same in PowerShell?«.
Jul
18
awarded  Yearling
Nov
18
comment Why are Microsoft Windows Update taking so long to install?
I wouldn't really recommend turning system restore points off. They're a very good option of restoring a broken update which otherwise might require a reinstall
Oct
31
comment Why are Microsoft Windows Update taking so long to install?
And things break on both systems :). Some Windows installations don't like a particular update and on Linux all it takes is a library update with an incompatible API change (gettext tends to do that sometimes) where not all dependencies are prepared for it.
Sep
27
comment Better way to wait a few seconds in a bat file?
Note that the article says “Windows Server 2000”; that's not Windows 2000 and the server OSes may indeed have this. Not the consumer ones before Vista, though (and Vista mybe only because its starting point was the Server 2k3 codebase).
Sep
27
comment Better way to wait a few seconds in a bat file?
Massimo, you likely have the Server 2003 Resource Kit or similar installed which comes with a few utilities that shipped by default on later versions.
Sep
26
comment Better way to wait a few seconds in a bat file?
Massimo, it's a solution that works on pretty much any Windows without resorting to tools that may not exist on older versions.
Sep
26
comment Better way to wait a few seconds in a bat file?
Massimo: Only if you installed a resource kit, I guess. Not natively included.
Jul
18
awarded  Yearling
May
1
revised Can a custom DPI setting be applied to Remote Desktop sessions?
code formatting
May
1
suggested approved edit on Can a custom DPI setting be applied to Remote Desktop sessions?
Jul
19
awarded  Yearling
May
17
comment Sudo !! equivalent in PowerShell
Actually, $^ is the first token of the previous command. If I dot-source a script with . ./foo.ps1 then $^ is .. This also means that arguments are not contained. Doing anything that exceeds a single token will not work this way.