"hello world"
article in Tech windows

Annoyances in the MS platform

being a developer, and having all of the things installed I have installed - what can go wrong, will go wrong.
Windows has it's own unique set of issues.
Here are some that urk me.


"The filename, directory name, or volume label syntax is incorrect."

This is a strange issue; whenever opening cmd.exe or calling additional batch files, you see "The filename, directory name, or volume label syntax is incorrect." within the output.
First things first, regedit your "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" and checkout the "AutoRun". For me, it ended up being a bad path left over from clink, which had apparently been uninstalled, but this registry entry was remaining. This can be a minor annoyance... But also a terrible issue for testing/building software, when using strawberry perl I found that dmake would return NOT OK. Replacing the invalid path with an empty string took dmake from NOT OK to dmake OK. I might also mention that there is a "HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Command Processor" for x64 machines. You might try AutoRuns.


windows 8.1 upgrade options - keep personal files only or NOTHING

If you ask me; it is ridiculous. If you upgrade from windows 7 to windows 8.1 you will only be given the options of nothing or just your personal files. If you prefer to keep all your applications; you'll want to upgrade to windows 8.0, which gives you a proper upgrade path. Why did microsoft remove this functionality from the 8.1 release? When you install with windows 8, you will find "Keep Windows settings, personal files, and apps". Pretty standard stuff that you need to upgrade sequentially - for profits sake.
A detailed look: How is Microsoft a different technology company compared to rivals? - "MICROSOFT WILL SUPPORT YOU REGARDLESS OF YOUR DEVICE." on the latest release, sequentially, still requiring patches, and more importantly windows still needs to reboot for patching.

disable "Windows is checking for a solution"...

disable this functionality so that the program just crashes!
Click on start, type: Choose how to report problems, change it to Never check for solutions
Control Panel | Action Center | Maintenance | Check for solutions to problem reports | Settings
Disable "Windows is checking for a solution..."


Move a window when its title bar is off the screen

This one is pretty frustrating, because with multi-monitor and mobile devices, it is obvious that such off screen situations might occur for the user. Users have to know how to access the system menu (using the mouse or keyboard).
1. Hold down Alt + Spacebar
2. Press the M key
3. Use the arrow keys to relocate the window
4. Press the Enter key when you have the Window in the desired location.

You will also find that when you do the Alt-Spacebar, M. You can't simply move your mouse to find your window. If you move your mouse you'll find they won't register with your window. Until you press an arrow key once (doesn't matter the direction), and then the window moves... It should work after hitting M. It shouldn't be so easy to lose windows in invalid monitor locations.


XP stop asking me to restart

XP windows update is great, but when it needs to reboot, you are given a dialog with two options: restart now or restart later. Every ten minutes like clockwork.
Tell XP to leave you alone
The service will restart with the reboot.

Vista/7/8 doesn't include elevate from cmdline

If you are going to implement UAC. Lets include su please for command line apps! They do have the elevate power tools,but that should be in the base OS. On Vista, releasing/renewing an IP using ipconfig requires elevated privs.
WindowsDevCenter.com - ok so runas is now included.
and, you can always create an administrative cmd.exe by right clicking on the run as link and clicking "Run as Administrator"
and and, Ctrl-Shift-Enter allows you to run things as admin both from the run dialog (Win-R) and from the start menu.


Printers

- When printing in windows, sometimes the job gets stuck in the spooler.  Don't ask me why but when you try and delete the job from the printer dialog it says its deleting but it never goes away.  Turn of the print spooler in the services, and delete the job from the C:\windows\system32\spool\PRINTERS\.

Windows Installer Problems

I don't know why, but there are problems with the windows install/uninstall utilities. Many times, I uninstall something and it still shows up.
Windows Installer CleanUp Utility

Change your XP window key

Microsoft has a KB on how to change your product key. They don't make it easy... but they do provide two vb scripts to get the job done. It is amazing to me that this process is so hard, why doesn't Microsoft allow the user to view, backup, and edit the XP key?

Anyways, there is a program to come to the rescue.
Magical Jelly Bean Keyfinder v1.51

Environment variables

How to propagate environment variables to the system
Environment Variables in Windows XP


Shutdown and restart

Sometimes, it is hard to restart...the option disappears. Had this problem on XP and Vista.
Shutdown & Restart Shortcuts


Removing removable harddrive from windows

I find this the most annoying thing in windows. I HATE that the OS doesn't provide a way to find open handles when removing devices. Instead, we have to close all the apps we think might have the files open on the drive. Someday, I'll solve this with my own util.....a link to given below:
USB ejector - make it easy to disconnect a drive.


File Transfer Manager

I'm not sure why, but you need File transfer manager(FTM) to download subscriber downloads. FTM does not work all the time. First you gotta download and install it. Then, when downloading, my browser will download the file as an aspx, forcing me to browse to FTM and override the normal association. Why not use silverlight? I wish FTM would go away
Microsoft File Transfer Manager


Power savings and BSOD

win7 bad suspend,boom. 1.2ms BSOD on boot. you try repairing,you try restoring. BSOD persists. F8 in safe mode,runnable-sorta. windows. #par
The error it says, if I hit F8 and disable automatic restart:
STOP: C0000145 {Application Error}
The application was unable to start correctly (0x80000003). Click OK to close the application.
Really? Really? A click OK to close the application BSOD? in windows 7? Really?
How do I Stop a C0000145 Application Error? | eHow.com
above suggests, using scf /scannow... Mike's Technology and Finance Blog: How To Troubleshoot 0x9F DRIVER_POWER_STATE_FAILURE
Why is MsMpEng.exe using so much CPU?


Developer,developer,developer

The Manifold Blunders of Xaml–Part 1: Version and Platform Hell - .NET & Funky Fresh - Devlicio.us - Just the Tasty Bits


found.00x folders which require elevated perms to delete

Does anyone use these found folders for anything? Or are they just tell tail signs of some sort of corruption fixed by chkdisk? Anyways, to remove them, you can't just delete them from explorer. You've got to startup a admistrative cmd.exe and "rd found.000 /s" yourself.

Hyperterminal and com port access

vista and 7 don't include hyperterminal. hyperterminal provides direct access to the serial ports on the computer. They drop the feature, and provide no free replacement. Some people have gone to extreme lengths and copied hyperterm from XP to Win7/Vista with success. Others, jump through hoops and develop it themselves since apparently users have no serial ports anymore...
What happened to HyperTerminal?

No one at MS wanted to write a terminal for serial control? Guess, not.
realterm Terminal Software - written in pascel, open source! works on win7!


control-v (paste shortcut) doesn't work in cmd.exe

Thanks for the ^V.
Alt+Space,E,P (yuck)
How to Enable Ctrl+V for Pasting in the Windows Command Prompt - How-To Geek using autohoykey for catching the paste...
#IfWinActive ahk_class ConsoleWindowClass
^V::
SendInput {Raw}%clipboard%
return
#IfWinActive


Windows key and other hotkeys not easy to manage

it is a little silly that we do not have a nice utility to remap/disable keys in windows. two new keys on keyboards, just for windows, causing millions everywhere to lose flow and tab out of their current application... there are multiple kb's, deep technical information... it's basic stuff.
How to disable the keyboard Windows key via regedit.
Disable Windows Key | JohnHaller.com - Mr. Haller has provided registry files. also Disable Caps Lock (or turn it into something else) | JohnHaller.com
Disabling Shortcut Keys in Games (Windows) - using keyboard hook and SystemParametersInfo.
WKey Disabler - Home - system tray, and when you want to use the Windows keys again, just close the program.
Disable Windows key or WinKey in Windows 8 | 7 - not a fan of close source shareware, but this provides a gui with the ability to disable more than just the windows key.
then there is always autohotkey.
Disable the windows key - Scripts - AutoHotkey Community
Disable windows key start menu but not shortcuts - Scripts - AutoHotkey Community


Windows is not POSIX

it should be at the top of the list; but I figure some already know this, and to the the others that don't, they probably don't care. A lot of problems in development between windows and other os stem from the fact that windows is it's own api. That api is not a Portable Operating System Interface, it's windows.
POSIX - Wikipedia we've been given Windows Services for UNIX - Wikipedia
Subsystem for UNIX-based Applications and POSIX Compliance
sua - Does Windows 8 still implement POSIX? - Super User - SUA is still available through Windows Features, though listed as deprecated:
Where does Microsoft Windows' 7 POSIX implementation currently stand? - Stack Overflow
linux - I never really understood: what is POSIX? - Stack Overflow
Windows and Cygwin/MinGW/coLinux - dump some GPL in your WIN32 - Dave Horner's Website
Created: 2006-01-10 16:35:25 Modified: 2014-09-18 04:16:06
/root sections/
>peach custard pie
>linux
>windows
>programming
>random tech
>science
>research


moon and stars



My brain

Visible Dave Project


0, 1, 1, 2, 3, 5, 8, 13, 21, 34,...
xn = xn-1 + xn-2