September 28, 2015
On 9/28/2015 4:23 AM, Manu via Digitalmars-d wrote:
> MS would never require that of a user.

I find it user unfriendly that I can only use MS command tools from a special command prompt.

September 28, 2015
On 9/28/2015 8:08 AM, Wyatt wrote:
> On Sunday, 27 September 2015 at 06:34:29 UTC, Walter Bright wrote:
>> That all conspires to ensure that you CANNOT SEE what the longer values even
>> are! It's pathetic.
>>
> Well they finally fixed that, at least.  A week ago.
> http://www.ghacks.net/2015/09/22/microsoft-improves-environment-variables-editor-in-latest-windows-10-build/
>
>
> ...on the Windows version many people swear they'll never install.

From the article:

"This meant that you had to use copy, delete and paste previously to move variables around."

Except that copy/paste does not work in the dialog box (or any Windows dialog box).
September 28, 2015
On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote:
> Except that copy/paste does not work in the dialog box (or any Windows dialog box).

Yes it does, you can ctrl+c or right click and get to it from that menu. It works in all Windows edit boxes.

You just hit the edit button first to get that single line thing then you can copy/paste out to notepad or whatever.
September 28, 2015
On 9/28/2015 12:36 PM, Adam D. Ruppe wrote:
> On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote:
>> Except that copy/paste does not work in the dialog box (or any Windows dialog
>> box).
>
> Yes it does, you can ctrl+c or right click and get to it from that menu. It
> works in all Windows edit boxes.

The dialog box itself is not an edit box, and copy simply does not work. (Just tried it again.) You cannot copy ANY text from it, even the highlighted text.

This really blows when you've got a message window with an error message in it, and you cannot copy it to google it. You cannot copy the "About" dialog box text, either, so you have to painfully type in the version/build number when filing a bug report.

Unbelievable.

September 28, 2015
On Monday, 28 September 2015 at 11:23:25 UTC, Manu wrote:

> Maybe you're objecting with the suggestion that normal users really do
> actively use environment variables? If so, your example refers to
> auto-configured stuff that's completely invisible to average users, as
> it should be in windows.
> I've never used the VS command prompt in almost 20 years. Not once.
> It's only linux ports that require you to mess with the environment in
> windows. MS would never require that of a user.

I've had to mess with environmental variables quite a bit. I never use VS.
September 28, 2015
On Monday, 28 September 2015 at 19:44:11 UTC, Walter Bright wrote:
> On 9/28/2015 12:36 PM, Adam D. Ruppe wrote:
>> On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote:
>>> Except that copy/paste does not work in the dialog box (or any Windows dialog
>>> box).
>>
>> Yes it does, you can ctrl+c or right click and get to it from that menu. It
>> works in all Windows edit boxes.
>
> The dialog box itself is not an edit box, and copy simply does not work. (Just tried it again.) You cannot copy ANY text from it, even the highlighted text.
>
> This really blows when you've got a message window with an error message in it, and you cannot copy it to google it. You cannot copy the "About" dialog box text, either, so you have to painfully type in the version/build number when filing a bug report.
>
> Unbelievable.

Dear Walter,

Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since Windows 2000, even captions and buttons.


September 28, 2015
On Monday, 28 September 2015 at 21:41:27 UTC, rumbu wrote:
> On Monday, 28 September 2015 at 19:44:11 UTC, Walter Bright wrote:
>> On 9/28/2015 12:36 PM, Adam D. Ruppe wrote:
>>> On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote:
>>>> Except that copy/paste does not work in the dialog box (or any Windows dialog
>>>> box).
>>>
>>> Yes it does, you can ctrl+c or right click and get to it from that menu. It
>>> works in all Windows edit boxes.
>>
>> The dialog box itself is not an edit box, and copy simply does not work. (Just tried it again.) You cannot copy ANY text from it, even the highlighted text.
>>
>> This really blows when you've got a message window with an error message in it, and you cannot copy it to google it. You cannot copy the "About" dialog box text, either, so you have to painfully type in the version/build number when filing a bug report.
>>
>> Unbelievable.
>
> Dear Walter,
>
> Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since Windows 2000, even captions and buttons.

And before telling that don't work, this a remote desktop connection to a non existent computer error obtained using Ctrl-C:

[Window Title]
Remote Desktop Connection

[Content]
Remote Desktop can't find the computer "abcd". This might mean that "abcd" does not belong to the specified network.  Verify the computer name and domain that you are trying to connect to.

[OK] [Help]
September 28, 2015
On 9/28/2015 2:41 PM, rumbu wrote:
> Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since
> Windows 2000, even captions and buttons.

Nope. Doesn't work in the Environment Variables dialog box. Doesn't work in the Thunderbird about box. Doesn't work in the Notepad about box. Doesn't work in the IE about box. Or any of the IE dialog boxes I tried, like Internet Options.

I haven't found ANY where it works.
September 29, 2015
On Monday, 28 September 2015 at 23:44:55 UTC, Walter Bright wrote:
> On 9/28/2015 2:41 PM, rumbu wrote:
>> Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since
>> Windows 2000, even captions and buttons.
>
> Nope. Doesn't work in the Environment Variables dialog box. Doesn't work in the Thunderbird about box. Doesn't work in the Notepad about box. Doesn't work in the IE about box. Or any of the IE dialog boxes I tried, like Internet Options.
>
> I haven't found ANY where it works.

Hmmm. I'm don't know what you're doing differently from the rest of us. Certainly, the text in about boxes isn't usually selectable, but aren't we specifically talking about the dialog for editing environment variables here? If I open the environment variable dialog, select Path, and click on the edit button, I get a dialog that pops up that has the "Variable name:" and "Variable value:" fields. The text "Variable name:" and "Variable value:" is unselectable and not copyable (so maybe that's what you're talking about?), but the text in the edit boxes next to them where you edit their values _can_ be selected and copied. If I click on the text in the box to the right of "Variable value:", hit ctrl-a to select all of the text, and then hit ctrl-c, I get this on my clipboard:

C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files (x86)\Shoreline Communications\ShoreWare Client\;C:\Program Files (x86)\Shoreline Communications\ShoreWare Client\win64;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;%TFSPowerToolDir%;%BPADir%;C:\Program Files (x86)\Vim\vim74;C:\Program Files\Microsoft\Web Platform Installer\;C:\D\dmd2\windows\bin

And I can now edit that text and copy it back into the edit field for the Path variable, which is stupid to have to do but is a lot saner than editing the text in the edit box directly.

- Jonathan M Davis
September 29, 2015
On 9/28/2015 6:42 PM, Jonathan M Davis wrote:
> On Monday, 28 September 2015 at 23:44:55 UTC, Walter Bright wrote:
>> On 9/28/2015 2:41 PM, rumbu wrote:
>>> Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since
>>> Windows 2000, even captions and buttons.
>>
>> Nope. Doesn't work in the Environment Variables dialog box. Doesn't work in
>> the Thunderbird about box. Doesn't work in the Notepad about box. Doesn't work
>> in the IE about box. Or any of the IE dialog boxes I tried, like Internet
>> Options.
>>
>> I haven't found ANY where it works.
>
> Hmmm. I'm don't know what you're doing differently from the rest of us.
> Certainly, the text in about boxes isn't usually selectable, but aren't we
> specifically talking about the dialog for editing environment variables here? If
> I open the environment variable dialog, select Path, and click on the edit
> button,

Try selecting any text in the dialog box before opening another one with the edit button. Or try any of the ones I mentioned.

> And I can now edit that text and copy it back into the edit field for the Path variable, which is stupid to have to do but is a lot saner than editing the text in the edit box directly.

Surely a dialog box stinks if you have to paste its contents into an editor to edit it.