
윈도우이 메타데이터를 읽을 수 있습니다그러나 열 선택에서는 생략합니다.
(이 스크린샷의 배경에 있는 빈 위치 열에 유의하세요.)
제가 놓친 걸까요, 아니면 해킹을 당해야 하는 걸까요?
최소한 이 속성에 대해 내 파일을 어떻게 쿼리하고 정렬할 수 있습니까?
감사해요
답변1
나는 전에 어딘가에서 이 질문에 답한 적이 있다는 것을 알고 있었습니다! 여기에 링크 설명을 입력하세요
다음은 다음을 추가하는 업데이트된 코드입니다.위도,경도, 그리고고도다음을 사용하여 폴더에 사용 가능한 열로영화주형. 복사하여 붙여넣기파워셸창문:
2023/08/23 편집: 이제 코드가 PIctures, PIcturews.SearchREsults 및 PIctures.Library FolderTypes를 수정합니다.
$HKLM_FT = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$HKCU_FT = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$PictruesTV = "{b3690e58-e961-423b-b687-386ebfd83239}\TopViews\{00000000-0000-0000-0000-000000000000}"
$PicturesSearchResultsTV = "{4dcafe13-e6a7-4c28-be02-ca8c2126280d}\TopViews\{5586158e-f4e6-409e-b47c-4d216f40b912}"
$PicturesLibraryTV = "{0b2baaeb-0042-4dca-aa4d-3ee8648d03e5}\TopViews\{82ba0782-5b7a-4569-b5d7-ec83085f08cc}"
$CustomTVs = @($PictruesTV, $PicturesSearchResultsTV, $PicturesLibraryTV)
### Copy specified FolderTypes from HKLM to HKCU
$CustomTVs | %{
New-Item -Path (Join-Path $HKCU_FT $_) -Force | Out-Null
$SPlat = @{
'Path' = Join-Path $HKLM_FT $_
'Destination' = Join-Path $HKCU_FT (Split-Path $_)
}
Copy-Item @Splat -force
}
### Modify ColumnList in newly-creaeted HKCU entries
$Find = '(?<=0[A-Za-z\.]+\;)1'
$Replace = '1System.GPS.Latitude;1System.GPS.Longitude;1System.GPS.Altitude;1'
$CustomTVs | %{
$SPlat = @{
'Path' = Join-Path $HKCU_FT $_
'Name' = 'ColumnList'
}
$ColumnList = (Get-ItemPropertyValue @Splat) -replace $Find, $Replace
Set-ItemProperty @Splat -Value $ColumnList
get-process explorer | stop-process
업데이트: .reg 파일 옵션을 선호하는 사람들을 위해...
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{b3690e58-e961-423b-b687-386ebfd83239}\TopViews\{00000000-0000-0000-0000-000000000000}]
"ColumnList"="prop:0System.ItemNameDisplay;0System.ItemDate;0System.ItemTypeText;0System.Size;0System.Keywords;1System.GPS.Latitude;1System.GPS.Longitude;1System.GPS.Altitude;1System.DateCreated;1System.DateModified;1System.Photo.DateTaken;1System.Image.Dimensions;1System.Rating"
"IconSize"=dword:00000060
"LogicalViewMode"=dword:00000003
"Name"="NoName"
"Order"=dword:00000000