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

Search Syntax
| Property | Example | Function |
| author:name | author:patrick | ค้นหาไอเท็มที่มี patrick ในคุณสมบัติ Author |
| author:(name) | author:(patrick hines) | ค้นหาไอเท็มที่มี patrick hines ในคุณสมบัติ Author |
| author:(name OR name) | author:(patrick OR bob) | ค้นหาไอเท็มที่มี patrick หรือ bob ในคุณสมบัติ Author |
| author:name name | author:patrick bob | ค้นหาไอเท็มที่มี patrick ใน Author property และ bob ที่ใดก็ตามในเอกสาร |
| from:name | from:patrick | ค้นหาไอเท็มที่มี patrick ใน fromName หรือ fromAddress เนื่องจาก "from" เป็นชื่อคุณสมบัติสำหรับทั้งสอง |
| before:date | before:10/9/2011 | ค้นหาไอเท็มที่ PrimaryDate field มีวันที่ก่อน 10/9/2011 |
| after:date | after:10/9/2011 | ค้นหาไอเท็มที่ PrimaryDate field มีวันที่หลัง 10/9/2011 |
| has:attachment | report has:attachment | ค้นหาไอเท็มที่มีคำว่า report และมีไฟล์แนบ เหมือน hasattachment:true |
| is:attachment | report is:attachment | ค้นหาไอเท็มที่มีไฟล์แนบที่มีคำว่า report เหมือน isattachment:true |
การระบุนำเลขและช่วง (ranges)
เพื่อระบุช่วงวันที่ ให้ป้อนคุณสมบัติตามด้วยสองวันที่ ตัวอย่างเช่น พิมพ์ from:Thomas sent:11/05/10..11/05/11 Windows Search รู้จักรูปแบบวันที่ Windows ทั้งหมด และยังรับรู้ค่าต่อไปนี้:
• วันที่สัมพัทธ์: Today, tomorrow, yesterday
• วันที่หลายคำ: week, next month, last week, past month, or coming year ค่าสามารถป้อนแบบย่อได้ เช่น thisweek, nextmonth, lastweek, pastmonth, comingyear
• วัน: Sunday, Monday … Saturday
• เดือน: 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 |
คุณสมบัติไฟล์ทั่วไป
ตารางก่อนหน้ามีรายการคำที่สามารถใช้กับคุณสมบัติไฟล์ต่อไปนี้ ตัวอย่างเช่น เพื่อหาอีเมลจาก "patrick" ที่ส่งในปี 2011 คำค้นหาของคุณจะเป็น: 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 |
การจำกัดโดยที่เก็บไฟล์ (file store)
คุณสามารถใช้ตัวบ่งชี้ store: เพื่อจำกัดขอบเขตการค้นหา ซึ่งจะจำกัดคำค้นหาให้เป็น 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 คุณสามารถเข้าถึงกล่องค้นหาจาก Windows Explorer ได้เช่นกัน
ในกล่องค้นหา ป้อน:
Rating:>0 Star
จะค้นหาไฟล์ทั้งหมดที่มี rating 1 ถึง 5 ดาว แต่ลองพารามิเตอร์ขั้นสูงบางอย่างเพื่อจำกัดผลลัพธ์จริงๆ
ค้นหาไฟล์ที่มี rating 1 ดาว
Rating:1 Star
ค้นหาไฟล์ที่มี rating เฉพาะ 2, 3, 4 หรือ 5 ในตัวอย่างด้านล่าง เราค้นหา 4 ดาว
Rating:4 Stars
ค้นหาไฟล์ที่มี rating ในช่วง เพื่อหาไฟล์ที่ได้ rating 2 ถึง 4 เราใช้
Rating:>1 stars <5 stars
แหล่งที่มา: Microsoft.
