By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!set os
displays the value of that one variable correctly, but set os*
displays the same one variable with a bunch of gribble appended.My LOGONSERVER is OK. But my OS looks a little odd.I see a few corrupt lines in mine, including OS and LOGONSERVER.
Oddly,set os
displays the value of that one variable correctly, butset os*
displays the same one variable with a bunch of gribble appended.
C:\>set number_of_processors
12
C:\>set number_of_processors*
NUMBER_OF_PROCESSORS=12es (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\PuTTY\;C:\Program Files\Git\cmd;c:\cygwin64\bin;;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Users\cdye\AppData\Local\Microsoft\WindowsApps;c:\program files\git\bin;
C:\>set os
Windows_NT
C:\>set os*
OS=Windows_NT Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;c:\cygwin64\bin;;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Users\cdye\AppData\Local\Microsoft\WindowsApps;c:\program files\git\bin;
C:\>set onedrive
C:\Users\cdye\OneDrive
C:\>set onedrive*
OneDrive=C:\Users\cdye\OneDriveerver\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;c:\cygwin64\bin;;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Users\cdye\AppData\Local\Microsoft\WindowsApps;c:\program files\git\bin;
C:\>
C:\>set os*
OS=Windows_NT Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program
Files\PuTTY\;C:\Program Files\Git\cmd;c:\cygwin64\bin;;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)
\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Users\cdye\AppData\Local\Microsoft\WindowsApps
;c:\program files\git\bin;
C:\>set os* > con:
OS=Windows_NT
C:\>
I was thinking of the allocation and re-use of temporary (?) string buffers.I doubt that Rex has changed anything in the SET command. More likely, I think, is that this is some generic change in the console output routines, perhaps to check for/handle double-width characters.