Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows

Mẹo tìm kiếm Windows Desktop, Advanced Query Syntax cho Windows 10

Một trong những tính năng được dùng nhiều nhất của Windows 10/8/7/Vista là Tìm kiếm (Search). Nó cho phép bạn định vị tệp, thư mục ngay lập tức. Windows Search cũng đề cập đến Instant Search (Tìm kiếm tức thì), hiện đã trở thành phần không tách rời của Windows, đặc biệt trong các phiên bản mới nhất.

Mẹo tìm kiếm Windows Desktop

Vâng, nếu bạn muốn hiệu quả hơn trong việc định vị tệp và email trong Windows 10, Windows 8, Windows 7, Windows Vista hoặc Windows XP sử dụng Windows Search, thì Advanced Query Syntax (AQS) - Cú pháp truy vấn nâng cao có thể giúp bạn làm chính xác điều đó. Bạn có thể đạt kết quả mong muốn bằng AQS, vì nó cho phép bạn nhanh chóng xác định và thu hẹp tìm kiếm.

Để làm cho tìm kiếm cụ thể, bạn có thể sử dụng nhiều từ khóa hoặc tham số tìm kiếm, có thể giới hạn truy vấn vào vị trí cụ thể, loại tệp cụ thể hoặc thuộc tính trong những loại đó, hoặc "loại tệp" (file kinds) cụ thể. Ở đầu Windows Search Explorer, các File kinds được hiển thị, bạn có thể truy cập bằng cách nhấn Windows Logo + F.

Sử dụng dấu ngoặc kép kép để khớp một chuỗi cụ thể theo nghĩa đen, để nó không được hiểu là từ khóa. Các từ sẽ khớp chính xác theo thứ tự chúng được nhập trong truy vấn tìm kiếm giữa dấu ngoặc kép.

Tổng quan cú pháp trong các bảng dưới đây có thể dùng với Windows Search, bao gồm các thuộc tính có thể thêm vào thuật ngữ tìm kiếm để thu hẹp và tinh chỉnh kết quả.

Mẹo tìm kiếm Windows Desktop, Advanced Query Syntax cho Windows 10

Cú pháp tìm kiếm (Search Syntax)

Thuộc tính (Property) Ví dụ (Example) Chức năng (Function)
author:name author:patrick Tìm mục có patrick trong thuộc tính Author.
author:(name) author:(patrick hines) Tìm mục có patrick hines trong thuộc tính Author.
author:(name OR name) author:(patrick OR bob) Tìm mục có patrick hoặc bob trong thuộc tính Author.
author:name name author:patrick bob Tìm mục có patrick trong Author và bob ở bất kỳ đâu trong tài liệu.
from:name from:patrick Tìm mục có patrick trong fromName HOẶC fromAddress, vì "from" là tên thuộc tính cho cả hai.
before:date before:10/9/2011 Tìm mục có PrimaryDate trước 10/9/2011.
after:date after:10/9/2011 Tìm mục có PrimaryDate sau 10/9/2011.
has:attachment report has:attachment Tìm mục chứa từ "report" có file đính kèm. Tương đương hasattachment:true
is:attachment report is:attachment Tìm mục là file đính kèm chứa từ "report". Tương đương isattachment:true

Chỉ định số và phạm vi (Specifying Numbers and ranges)

Để chỉ định phạm vi ngày, nhập thuộc tính theo sau bởi hai ngày. Ví dụ, gõ from:Thomas sent:11/05/10..11/05/11. Windows Search nhận diện tất cả định dạng ngày Windows và cũng nhận ra các giá trị sau:

• Ngày tương đối: Today, tomorrow, yesterday

• Ngày tương đối nhiều từ: week, next month, last week, past month, coming year. Giá trị cũng có thể nhập dạng rút gọn: thisweek, nextmonth, lastweek, pastmonth, comingyear.

• Ngày trong tuần: Sunday, Monday … Saturday

• Tháng: January, February … December

Cú pháp (Syntax) Kết quả (Results)
size:>50KB <70KB Tìm tệp có giá trị Size giữa 50 KB và 70 KB, loại trừ giá trị đầu cuối.
size:>=50KB <=70KB Tìm tệp có giá trị Size giữa 50 KB và 70 KB, bao gồm giá trị đầu cuối.
Size: 50KB..70KB Tương đương size:>=50KB <=70KB
date:>2/7/11<2/10/11 Tìm ngày trong thuộc tính Date giữa 2/7/11 và 2/10/11, loại trừ ngày đầu cuối.
date:>=2/7/11<=2/10/11 Tìm ngày trong thuộc tính Date giữa 2/7/11 và 2/10/11, bao gồm ngày đầu cuối.
date:2/7/11 .. 2/10/11 Tương đương date:>=2/7/11<=2/10/11

Thuộc tính tệp phổ biến (Common file properties)

Bảng trước chứa danh sách từ có thể dùng với bất kỳ thuộc tính tệp sau. Ví dụ, để tìm email từ "patrick" gửi năm 2011, truy vấn sẽ là: kind:email author:patrick after:12/31/2010.

Để giới hạn theo loại tệp Dùng Ví dụ
Communications communications kind:communications
Contacts contacts
person
kind:person
kind:contacts
E-mail email kind:email
Instant Messenger conversations im kind:im
Meetings meetings kind:meetings
Tasks tasks kind:tasks
Notes notes kind:notes
Documents docs kind:docs
Music music
song
kind:music
kind:song
Pictures pics
pictures
kind:pics
kind:pictures
Videos videos kind:videos
Folders folders kind:folders
Folder name foldername foldername:mydocs
Programs programs kind:programs
Recorded TV tv kind:tv
Link link kind:link
Journal entry journal kind:journal

Giới hạn theo kho lưu trữ tệp (To restrict by file store)

Bạn có thể dùng chỉ thị store: để thu hẹp phạm vi tìm kiếm, giới hạn truy vấn vào Microsoft Office Outlook hoặc Outlook Express, nếu bạn có nhiều tài khoản.

Kho (Store) Dùng Ví dụ
Files file store:file
Offline Files csc store:csc
Outlook mapi store:mapi
Outlook Express outlookexpress store:outlookexpress

Thuộc tính cho loại tệp: All

Thuộc tính Dùng Ví dụ
Title title, subject, about title:manager
Status status status:active
Date date date:lastweek
Date modified datemodified, modified modified:lastweek
Importance importance, priority importance:high
Size size size:>50MB
Deleted deleted,isdeleted isdeleted:true
Is attachment isattachment isattachment:false
To to, toname to:johnsmith

Thuộc tính cho loại tệp: Contact

Thuộc tính Dùng Ví dụ
Job title jobtitle jobtitle:manager
IM address imaddress imaddress:[email protected]
Assistant's phone assistantsphone assistantsphone:555-1212
Assistant name assistantname assistantname:roberto
Profession profession profession:accountant
Nickname nickname nickname:louis
Spouse spouse spouse:susana
Business city businesscity businesscity:redmond
Business postal code businesspostalcode businesspostalcode:98052
Business home page businesshomepage businesshomepage:www.adventure-works.com
Callback phone number callbacknumber callbacknumber:882-8080
Car phone carphone carphone:555-1212
Children children children:anna
First name firstname firstname:maria
Last name lastname lastname
Home fax homefax homefax:555-1212
Manager's name manager manager:carlos
Pager pager pager:882-8080
Business phone businessphone businessphone:555-1212
Home phone homephone homephone:555-1212
Mobile phone mobilephone mobilephone:882-8080
Office officelocation officelocation:red/101
Anniversary anniversary anniversary:yesterday
Birthday birthday birthday:tomorrow

Thuộc tính cho loại tệp: Communications (email, appointments)

Thuộc tính Dùng Ví dụ
From from, organizer from:simon
Received received, sent sent:yesterday
Subject subject, title subject:budget
Has attachment hasattachment, hasattachments hasattachment:true
Attachments attachments, attachment attachment:presentation.ppt
Bcc bcc, bccname bcc:michael
Bcc address bccaddress, bcc bccaddress:[email protected]
Cc address ccaddress, cc ccaddress:[email protected]
Follow-up flag flagstatus
flagstatus:followup
flagstatus:unflagged
flagstatus:completed
To address toaddress, to toaddress:[email protected]
Due date duedate, due due:10/15/2011
Read read, isread isread:false
Is completed iscompleted iscompleted:true
Incomplete incomplete incomplete:true
Has flag hasflag, isflagged hasflag:false
Duration duration duration:>120

Thuộc tính cho loại tệp: Calendar

Thuộc tính Dùng Ví dụ
Recurring isrecurring
recurring
isrecurring:true
recurring:true
Organizer organizer, by, from organizer:jonas
Location location location:calgary

Thuộc tính cho loại tệp: Documents

Thuộc tính Dùng Ví dụ
Comments comments comments:excellent
Last saved by lastsavedby lastsavedby:josh
Document manager documentmanager documentmanager:jonas
Revision number revisionnumber revisionnumber:4a
Date last printed datelastprinted datelastprinted:yesterday
Slide count slides slides:>20

Thuộc tính cho loại tệp: Music

Thuộc tính Dùng Ví dụ
Bit rate bitrate bitrate:>150kbps
Artist artist, by artist:U2
Year year year:1910..1911
Album album album:”greatest hits”
Genre genre genre:rock
Lyrics lyrics lyrics:”happy birthday to you”
Track #, track track:12
Year year year:>1910<1911

Thuộc tính cho loại tệp: Picture

Thuộc tính Dùng Ví dụ
Camera make cameramake cameramake:nikon
Camera model cameramodel cameramodel:eclipse
Dimensions dimensions dimensions:8×10
Orientation orientation orientation:landscape
Date taken taken
datetaken
taken:last
datetaken:6/12/2011
Width width width:33
Height height height:66
Flash mode flashmode flashmode:no flash

Thuộc tính cho loại tệp: Recorded TV

Thuộc tính Dùng Ví dụ
Broadcast date broadcastdate broadcastdate:2011
Channel number channel channel:7
Closed captioning closedcaptioning closedcaptioning:true
Date released datereleased datereleased:2011
Episode name episodename episodename:zeppo

Thuộc tính cho loại tệp: Video

Thuộc tính Dùng Ví dụ
Name name
subject
name:vacation
subject:hawaii
Ext Ext
filext
ext:wma
filext:wma

Windows Search: Tìm tệp có Rating (Đánh giá)

Dưới đây là một số mẹo tìm tệp có đánh giá!

Mở Windows Search từ Menu Start. Bạn cũng có thể truy cập hộp tìm kiếm từ Windows Explorer.

Trong hộp tìm kiếm nhập:

Rating:>0 Star

Điều này sẽ tìm tất cả tệp có đánh giá từ 1 đến 5 sao. Nhưng hãy thử một số tham số nâng cao để thực sự thu hẹp kết quả.

Tìm tệp có đánh giá 1 sao

Rating:1 Star

Tìm tệp có đánh giá cụ thể 2, 3, 4 hoặc 5. Trong ví dụ dưới, chúng ta tìm đánh giá 4 sao

Rating:4 Stars

Tìm tệp có đánh giá trong một phạm vi. Để tìm tệp đánh giá từ 2 đến 4, ta dùng

Rating:>1 stars <5 stars

Nguồn: Microsoft.

Mẹo tìm kiếm Windows Desktop, Advanced Query Syntax cho Windows 10