![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | get-command and *.txt "applications" Has anyone else noticed that the get-command cmdlet identifies some of the PowerShell .txt Help files as "applications". It also does that for other non-PowerShell .txt files under C:\Windows and subfolders. Run get-command *.txt -commandType application | more and see what I mean. What's the rationale? Andrew Watt MVP |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: get-command and *.txt "applications" On Thu, 11 Jan 2007 17:38:35 +0000, "Andrew Watt [MVP]" <SVGDeveloper@aol.com> wrote: >Has anyone else noticed that the get-command cmdlet identifies some of >the PowerShell .txt Help files as "applications". It also does that >for other non-PowerShell .txt files under C:\Windows and subfolders. > >Run > >get-command *.txt -commandType application | more > >and see what I mean. > >What's the rationale? > >Andrew Watt MVP Just to add to the quirk. Try get-command *.bmp -commandType Application | more Unexpected. At least by me. Andrew Watt MVP |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: get-command and *.txt "applications" "Andrew Watt [MVP]" wrote: > Unexpected. At least by me. "get-command *.bmp -commandType Application | more" That seemed surprising in the beginning but after reading through Get-Command documentation on "CommandType" parameter, "Application" represents all non-PowerShell files on the system that you can run within PowerShell, including .txt, .exe. and .dll files in the Windows PowerShell path. Displaying *.bmp file just by specifying the BMP file name seems to fall into the category of "Application" since "BMP" files are 1. "non-PowerShell files" 2. "You can run within PowerShell" 3. "files in the Windows PowerShell path" But stil.. it is a bit unexpected ;p |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Save as" closes MS Office applications in Vista | tsk | Vista mail | 2 | 08-30-2008 06:55 AM |
| Command prompt "COPY" command not working in brand new Windows Vis | CMD COPY command not working in Vista | Vista file management | 7 | 02-05-2008 03:20 PM |
| "Open command prompt here" and "Copy as path" | Moody Marco | Vista performance & maintenance | 10 | 05-04-2007 11:41 AM |
| Upgrading one of my applications wants "CDSDC.dll"? | Imageman | Vista installation & setup | 1 | 02-26-2007 10:26 PM |
| Vista expects Applications in "Program Files" ? | MueMeister | Vista General | 5 | 11-27-2006 03:15 PM |