Archive for the ‘Windows 7’ Category
Posted by jpluimers on 2014/10/31
When searching for powershell ise indent tab, I came across this very nice post by rpscripter:
If one selects multiple lines, then pressing tab will indent them all. Pressing shift+tab will un-indent them all.
Yes, I know the PowerShell is limited, so the indents are tabs (not spaces) and you cannot change the tab size: Powershell ISE – change indent/tab size + keep tabs.
–jeroen
via:
Posted in CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/10/10
Back when I wrote this mid 2013, this was the best Windows RDP overview article I could find: Best RDP client for Mac OSX Lion.
And it all got invalidated when finally (after years of silence), Microsoft released AppStore versions of the RDP client for both Mac OS X and iOS:
Microsoft Launches ‘Remote Desktop’ Apps for Mac and iOS – Mac Rumors.
So I tried the Mac App Store – Microsoft Remote Desktop that runs on OS X 10.6.0 or later for more than a year, and I like it a lot.
This is what the AppStore version improved over the classic Microsoft Remote Desktop Connection:
- It has more regular updates.
- It remaps the Mac Command key to the Microsoft Windows logo key.
- It uses the new RDP protocol version features which means fast response, even on slow network connections and better security.
- Full screen support is superb.
- Clipboard integration just works.
- It is really stable.
Just so you know about alternatives,
Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 3 Comments »
Posted by jpluimers on 2014/10/08
I never realized you could overwrite the CD pseudo environment variable. If you do, the automatic value of the pseudo variable will not be udpated any more:
You have at some point set the CD variable explicitly. If you do this it will no longer automatically reflect the current working directory. To undo this, set it to empty:
set CD=
Thanks Jonathan and … for explaining this in both your answers.
Thanks to another answer by Endoro I now also know of the %=C:% pseudo variable (you have one per drive letter) that indicate the current directory per drive letter.
–jeroen
via: batch file – When is the CD environment variable updated? – Stack Overflow.
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »
Posted by jpluimers on 2014/10/06
I just found this [Wayback] great answer (which by now regrettably is deleted; the previous Wayback link still has it) by [Wayback] Јοеу a.k.a. Johannes Rössel on [Wayback] What encoding/code page is cmd.exe using.
The whole answer is worth reading, so I won’t quote only some bits.
Edit 20210609: the answer now has been replaced by an even more detailed answer [Wayback] by [Wayback] andrewdotn. Also recommended reading. The summary of the new answer is this:
The moral of the story?
type can print UTF-16LE files with a BOM regardless of your current codepage
- Win32 programs can be programmed to output Unicode to the console, using
WriteConsoleW.
- Other programs which set the codepage and adjust their output encoding accordingly can print Unicode on the console regardless of what the codepage was when the program started
- For everything else you will have to mess around with
chcp, and will probably still get weird output.
–jeroen
via: windows – What encoding/code page is cmd.exe using – Stack Overflow.
Posted in Batch-Files, Development, Encoding, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/09/15
Ever wanted to put all your Windows installs on a bootable USB stick, but also add some Linux functionality?
It looks like YUMI can do just that.
On my research list (:
–jeroen
via: YUMI – Multiboot USB Creator (Windows) | USB Pen Drive Linux.
Posted in *nix, Linux, Power User, SuSE Linux, Windows, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/08/29
Had a funny error on one of my Windows 7 development VMs today: “Unknown Bugcheck: Bugcheck 50”
I hadn’t used the VM for about 2 months, and left it in a suspended state. After resuming it got into a BSOD, booting would hang at the Windows logo, and a second boot would get into the Windows Startup Repair.
Startup Repair indicated it could not resolve the issue, offered a “Restore” (which I declined) then told me something like
Root cause found:
Unknown Bugcheck: Bugcheck 50. Parameters = 0xfffff880009aafb8, 0x0, 0xfffff8000347bc60, 0x0.
The solution was very simple: Read the rest of this entry »
Posted in Power User, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2014/08/18
Running DropBox on a roaming profile is a pain, especially when DropBox auto-starts.
Limitation: you can now use it on only 1 PC in the roaming profile domain at a time (I’ve not yet tried Open Source Software and Windows 32-bit: Multiple Dropbox (Do It Yourself).)
The reason is that depending on the logoff/logon order of machines, DropBox will overwrite parts of its configuration, and then think it needs to start with a fresh configuration.
Solution: Read the rest of this entry »
Posted in Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/08/08
Though there is a Unicode character for the Apple Command Key, there is none for the Windows Key.
The Windows font WinDings does have a character 255 for it, but that font usually is not installed on non-Windows systems. There it will look like Unicode Character ‘LATIN SMALL LETTER Y WITH DIAERESIS’ (U+00FF)
This Unicode code point comes closest to the Windows key: Unicode Character ‘SQUARED PLUS’ (U+229E) and is used by Windows Key page on WikiPedia.
- The WinDings character looks like this: ÿ
(non no Windows systems, it will look like an y with two dots on it: ÿ)
- The Unicode Codepoint U+229E like this: ⊞
Not a complete match, but pretty close.
The Unicode code points for Mac modifier keys are these:
–jeroen
Posted in Development, Encoding, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Software Development, Unicode, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Vista, Windows XP, Windows-1252 | Leave a Comment »
Posted by jpluimers on 2014/08/04
Though I’ve written only a few blog posts about 7zip – my compressor of choice ever since I discovered 7zip some 10 years ago around version 3.13 (their history goes much further back: 1999) – here is a fresh one:
7zip is a fast, free, multi-platform and has great compression. No wonder Toms Hardware gave them an award last year: And The Undisputed Winner Is… 7-Zip.
For Windows, I take the downloads from 7-Zip: there are both x64 and x86 versions (x64 supports more memory so can handle bigger archives).
For Mac, I’ve been using Keka – the free Mac OS X file archiver. Both compressing and decompressing involve dragging the uncompressed or compressed files to the Keka dock icon.
That is slightly more involved than the context menu in Windows, but it works great.
For Windows command line usage, I use either 7za.exe or 7z.exe (uses DLLs, supports more compression)
For Mac command line usage, I use p7zip.
–jeroen
Posted in 7zip, Apple, Compression, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/08/01
When using Windows RDP you have the risk of a Shift key getting stuck.
This happens when press Ctrl and Shift. Make sure you release Shift first, otherwise Shift gets stuck.
Same with Alt and Shift: you have to release the Shift key first.
This is not a problem when using the OS X Remote Desktop application 8.x from Microsoft: only the Windows MSTSC.exe applications included in Windows 7 and higher suffer from this when you connect to Windows 7 and higher (including connecting from Windows to Windows Server and from Windows Server to Windows).
It does not happen with the MSTSC.exe in Windows 2000/XP and Windows Server 2003/2003 R2.
Results
Here are the important results:
- Press Shift and Control (either order) -> Release Shift -> Release Control: Normal state
- Press Shift and Control (either order) -> Release Control -> Release Shift: Problem state
Conclusion
RDP has a bug whereby the shift state incorrectly remains in the “pressed” state if, after pressing Shift+Control, the Control key is released first.
Bug reference
Bug is with Microsoft: https://connect.microsoft.com/WindowsServer/feedback/details/766863/rdp-shift-key-gets-stuck
And the comments there:
I have been using RDP for years without problems, until about 2 or 3 weeks ago when it suddenly starting going wrong.
Too bad the connect issue requires logon: I have no idea if this is ever going to be fixed.
–jeroen
via: davidbond.net: RDP Shift Key Gets Stuck.
Edit: some comments on G+
made in Delphi :)
Happens to me sometimes when connecting from Win7 to XP+.
Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | 2 Comments »