หนึ่งในฟีเจอร์ที่ใช้งานมากที่สุดของ Windows 10/8/7/Vista คือการค้นหา (Search) มันช่วยให้คุณค้นหาไฟล์ โฟลเดอร์ได้ทันที Windows Search ยังอ้างถึง Instant Search ซึ่งตอนนี้กลายเป็นส่วนสำคัญของ Windows โดยเฉพาะในรุ่นล่าสุดของ Windows
เคล็ดลับการค้นหาบน Windows Desktop
ถ้าคุณต้องการมีประสิทธิภาพมากขึ้นในการค้นหาไฟล์และอีเมลใน Windows 10, Windows 8, Windows 7, Windows Vista หรือ Windows XP โดยใช้ Windows Search แล้ว Advanced Query Syntax (AQS) จะช่วยให้คุณทำได้เพียงแค่นั้น คุณสามารถได้ผลลัพธ์ที่ต้องการโดยใช้ AQS เนื่องจากมันอนุญาตให้คุณกำหนดและจำกัดการค้นหาของคุณได้อย่างรวดเร็ว
เพื่อทำให้การค้นหาของคุณเฉพาะเจาะจง คุณสามารถใช้คีย์เวิร์ดหรือพารามิเตอร์การค้นหาหลากหลาย ซึ่งสามารถจำกัด Query ของคุณให้อยู่ใน Locations เฉพาะ, File Types เฉพาะ หรือ Properties ภายในประเภทเหล่านั้น หรือ "File Kinds" เฉพาะ ที่ด้านบนของ Windows Search Explorer File Kinds ถูกแสดง ซึ่งคุณสามารถเข้าถึงได้โดยการกด Windows Logo + F
ใช้ Double Quotation Marks เพื่อจับคู่ String เฉพาะอย่างตรงตัว เพื่อให้ไม่ถูกตีความเป็น Keyword คำจะถูกจับคู่อย่างถูกต้องตามลำดับที่ป้อนใน Search Query ระหว่าง Quotation Marks
ภาพรวมของ Syntax ในตารางด้านล่างสามารถใช้กับ Windows Search รวมถึง Properties ที่สามารถเพิ่มเข้าไปใน Search Terms ของคุณเพื่อจำกัดและปรับปรุงผลลัพธ์ของคุณ

Search Syntax
| Property | Example | Function |
| author:name | author:patrick | ค้นหา Items ที่มี patrick ใน Property Author |
| author:(name) | author:(patrick hines) | ค้นหา Items ที่มี patrick hines ใน Property Author |
| author:(name OR name) | author:(patrick OR bob) | ค้นหา Items ที่มี patrick หรือ bob ใน Property Author |
| author:name name | author:patrick bob | ค้นหา Items ที่มี patrick ใน Property Author และ bob อยู่ที่ใดก็ตามในเอกสาร |
| from:name | from:patrick | ค้นหา Items ที่มี patrick ใน fromName หรือ fromAddress เนื่องจาก "from" เป็น Property Name สำหรับทั้ง fromName และ fromAddress |
| before:date | before:10/9/2011 | ค้นหา Items ที่ PrimaryDate Field มีวันที่ก่อน 10/9/2011 |
| after:date | after:10/9/2011 | ค้นหา Items ที่ PrimaryDate Field มีวันที่หลัง 10/9/2011 |
| has:attachment | report has:attachment | ค้นหา Items ที่มีคำว่า report และมี Attachments เหมือน hasattachment:true |
| is:attachment | report is:attachment | ค้นหา Items ที่มี Attachments ที่มีคำว่า report เหมือน isattachment:true |
การระบุตัวเลขและช่วง (Ranges)
เพื่อระบุช่วงวันที่ ให้ป้อน Property ตามด้วยวันที่สองวันที่ ตัวอย่างเช่น พิมพ์ from:Thomas sent:11/05/10..11/05/11 Windows Search ระบุรูปแบบวันที่ของ Windows ทั้งหมดและยังรับรู้ค่าต่อไปนี้:
- Relative dates: Today, Tomorrow, Yesterday
- Multi-word Relative Dates: Week, Next Month, Last Week, Past Month, หรือ Coming Year ค่าสามารถป้อนแบบย่อได้ เช่น thisweek, nextmonth, lastweek, pastmonth, comingyear
- Days: Sunday, Monday … Saturday
- Months: January, February … December
| Syntax | Results |
| size:>50KB <70KB | ค้นหาไฟล์ที่มีค่าใน Size ระหว่าง 50 KB และ 70 KB โดยไม่รวมค่าสิ้นสุด |
| size:>=50KB <=70KB | ค้นหาไฟล์ที่มีค่าใน Size Property ระหว่าง 50 KB และ 70 KB รวมค่าสิ้นสุด |
| Size: 50KB..70KB | เหมือนกับ size:>=50KB <=70KB |
| date:>2/7/11<2/10/11 | ค้นหาวันที่ใน Date Property ระหว่าง 2/7/11 และ 2/10/11 ไม่รวมวันที่สิ้นสุด |
| date:>=2/7/11<=2/10/11 | ค้นหาวันที่ใน Date Property ระหว่าง 2/7/11 และ 2/10/11 รวมวันที่สิ้นสุด |
| date:2/7/11 .. 2/10/11 | เหมือนกับ date:>=2/7/11<=2/10/11 |
Common File Properties
ตารางก่อนหน้ามีรายการคำที่สามารถใช้กับ File Properties ต่อไปนี้ได้ ตัวอย่างเช่น เพื่อค้นหาอีเมลจาก "patrick" ที่ส่งในปี 2011 Query ของคุณจะเป็นแบบนี้: kind:email author:patrick after:12/31/2010
| To Restrict By File Type | Use | Example |
| Communications | communications | kind:communications |
| Contacts | contacts person |
kind:person kind:contacts |
| 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 |
To Restrict By File Store
คุณสามารถใช้ Store: Indicator เพื่อจำกัดขอบเขตการค้นหา ซึ่งจะจำกัด Query ให้อยู่ที่ Microsoft Office Outlook หรือ Outlook Express กรณีที่คุณมีหลายบัญชี
| Store | Use | Example |
| Files | file | store:file |
| Offline Files | csc | store:csc |
| Outlook | mapi | store:mapi |
| Outlook Express | outlookexpress | store:outlookexpress |
Properties for File Type: All
| Property | Use | Example |
| 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 |
Properties for File Type: Contact
| Property | Use | Example |
| 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 |
Properties for File Type: Communications (E-mail, Appointments)
| Property | Use | Example |
| 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 |
Properties for File Type: Calendar
| Property | Use | Example |
| Recurring | isrecurring recurring |
isrecurring:true recurring:true |
| Organizer | organizer, by, from | organizer:jonas |
| Location | location | location:calgary |
Properties for File Type: Documents
| Property | Use | Example |
| 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 |
Properties for File Type: Music
| Property | Use | Example |
| 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 |
Properties for File Type: Picture
| Property | Use | Example |
| 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 |
Properties for File Type: Recorded TV
| Property | Use | Example |
| 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 |
Properties for File Type: Video
| Property | Use | Example |
| Name | name subject |
name:vacation subject:hawaii |
| Ext | Ext filext |
ext:wma filext:wma |
Windows Search: ค้นหาไฟล์ที่มี Ratings
นี่คือเคล็ดลับสำหรับการค้นหาไฟล์ที่มี Ratings!
เปิด Windows Search จาก Start Menu คุณสามารถเข้าถึง Search Box จาก Windows Explorer ได้เช่นกัน
ใน Search Box ให้ป้อน:
Rating:>0 Star
นี่จะค้นหาไฟล์ทั้งหมดที่มี Rating 1 ถึง 5 Stars แต่ลองใช้ Advanced Parameters เพื่อจำกัดผลลัพธ์จริงๆ
ค้นหาไฟล์ที่มี Rating 1 Star
Rating:1 Star
ค้นหาไฟล์ที่มี Rating เฉพาะ 2, 3, 4 หรือ 5 ในตัวอย่างด้านล่าง เรากำลังค้นหา 4-Star Ratings
Rating:4 Stars
ค้นหาไฟล์ที่มี Rating ในช่วง ในการค้นหาไฟล์ที่ได้ Rating 2 ถึง 4 เราใช้
Rating:>1 Stars <5 Stars
Source: Microsoft