เหตุการณ์ต่อ :::::>> รุ่นพี่ เอา HDD มาให้ บอกโดนไวรัส แก้ไวรัส shurtcut ให้หน่อย เปิดมา ก็ไม่เห็นอะไร เลยสาด!! เปิด hidden ที่ Folder Option แล้วก็ไม่เจอ 5555+
ทางสุดท้ายก็คือ เปิด cmd ขึ้นมา ไปที่ HDD รุ่นพี่ แล้วพิมพ์ dir /ah ปั๊บ........ 555+ เจอจนได้
ได้เขียน .bat ขึ้นมาเพื่อแก้ Attribute Folder ดังนี้
@echo off
set target=H:\ (drive รุ่นพี่ผม)
for /F "tokens=*" %%* in ('dir /b /ad "%Target%"') do attrib -h -r -s "%target%%%*"
แล้ว Save เป็น .bat แล้ว Run ก็จบแล้วครับ สำบายดีพี่น้อง ชาว IT อิอิ ^^........^^
6 December 2011
5 November 2011
Drop Multiple tables in Oracle (ลบรวดเดียวจบกัน)
select ‘drop table ‘||table_name||’;’ from user_tables;
drop table LOGSTDBY$EDS_TABLES;
drop table LOGSTDBY$HISTORY;
drop table LOGSTDBY$SKIP_SUPPORT;
drop table LOGSTDBY$SKIP;
drop table LOGSTDBY$SKIP_TRANSACTION;
drop table LOGSTDBY$PLSQL;
drop table LOGSTDBY$FLASHBACK_SCN;
drop table LOGSTDBY$SCN;
drop table LOGSTDBY$APPLY_MILESTONE;
drop table LOGSTDBY$EVENTS;
drop table LOGSTDBY$PARAMETERS;
drop table REPCAT$_SITES_NEW;
drop table REPCAT$_EXTENSION;
drop table REPCAT$_INSTANTIATION_DDL;
drop table REPCAT$_EXCEPTIONS;
drop table REPCAT$_TEMPLATE_TARGETS;
drop table REPCAT$_RUNTIME_PARMS;
drop table REPCAT$_SITE_OBJECTS;
drop table REPCAT$_TEMPLATE_SITES;
drop table REPCAT$_USER_PARM_VALUES;
drop table REPCAT$_OBJECT_PARMS;
drop table REPCAT$_TEMPLATE_PARMS;
drop table REPCAT$_TEMPLATE_OBJECTS;
drop table REPCAT$_TEMPLATE_REFGROUPS;
drop table REPCAT$_OBJECT_TYPES;
drop table REPCAT$_USER_AUTHORIZATIONS;
drop table REPCAT$_REFRESH_TEMPLATES;
drop table REPCAT$_TEMPLATE_TYPES;
drop table REPCAT$_TEMPLATE_STATUS;
drop table REPCAT$_FLAVOR_OBJECTS;
drop table REPCAT$_AUDIT_COLUMN;
drop table REPCAT$_AUDIT_ATTRIBUTE;
drop table REPCAT$_PARAMETER_COLUMN;
drop table REPCAT$_RESOL_STATS_CONTROL;
drop table REPCAT$_RESOLUTION_STATISTICS;
drop table REPCAT$_RESOLUTION;
drop table REPCAT$_RESOLUTION_METHOD;
drop table REPCAT$_CONFLICT;
drop table REPCAT$_GROUPED_COLUMN;
drop table REPCAT$_COLUMN_GROUP;
drop table REPCAT$_PRIORITY;
drop table REPCAT$_PRIORITY_GROUP;
drop table REPCAT$_REPGROUP_PRIVS;
drop table REPCAT$_DDL;
drop table REPCAT$_REPCATLOG;
drop table REPCAT$_REPPROP;
drop table REPCAT$_GENERATED;
drop table REPCAT$_KEY_COLUMNS;
drop table REPCAT$_REPCOLUMN;
drop table REPCAT$_REPOBJECT;
drop table REPCAT$_SNAPGROUP;
drop table REPCAT$_REPSCHEMA;
drop table REPCAT$_FLAVORS;
drop table REPCAT$_REPCAT;
drop table DEF$_DESTINATION;
drop table AQ$_INTERNET_AGENT_PRIVS;
drop table AQ$_INTERNET_AGENTS;
drop table AQ$_SCHEDULES;
drop table AQ$_QUEUES;
drop table AQ$_QUEUE_TABLES;
drop table MVIEW$_ADV_PLAN;
drop table MVIEW$_ADV_JOURNAL;
drop table MVIEW$_ADV_INFO;
drop table MVIEW$_ADV_PARAMETERS;
drop table MVIEW$_ADV_EXCEPTIONS;
drop table MVIEW$_ADV_OUTPUT;
drop table MVIEW$_ADV_ELIGIBLE;
drop table MVIEW$_ADV_CLIQUE;
drop table MVIEW$_ADV_GC;
drop table MVIEW$_ADV_FJG;
drop table MVIEW$_ADV_AJG;
drop table MVIEW$_ADV_ROLLUP;
drop table MVIEW$_ADV_LEVEL;
drop table MVIEW$_ADV_FILTERINSTANCE;
drop table MVIEW$_ADV_LOG;
drop table MVIEW$_ADV_FILTER;
drop table MVIEW$_ADV_TEMP;
drop table MVIEW$_ADV_PRETTY;
drop table MVIEW$_ADV_SQLDEPEND;
drop table MVIEW$_ADV_BASETABLE;
drop table MVIEW$_ADV_WORKLOAD;
drop table LOGMNR_SESSION$;
อีกอัน
select ‘drop table ‘||table_name||’;’ from user_tables where table_name like ‘SMP_%’;
drop table LOGSTDBY$EDS_TABLES;
drop table LOGSTDBY$HISTORY;
drop table LOGSTDBY$SKIP_SUPPORT;
drop table LOGSTDBY$SKIP;
drop table LOGSTDBY$SKIP_TRANSACTION;
drop table LOGSTDBY$PLSQL;
drop table LOGSTDBY$FLASHBACK_SCN;
drop table LOGSTDBY$SCN;
drop table LOGSTDBY$APPLY_MILESTONE;
drop table LOGSTDBY$EVENTS;
drop table LOGSTDBY$PARAMETERS;
drop table REPCAT$_SITES_NEW;
drop table REPCAT$_EXTENSION;
drop table REPCAT$_INSTANTIATION_DDL;
drop table REPCAT$_EXCEPTIONS;
drop table REPCAT$_TEMPLATE_TARGETS;
drop table REPCAT$_RUNTIME_PARMS;
drop table REPCAT$_SITE_OBJECTS;
drop table REPCAT$_TEMPLATE_SITES;
drop table REPCAT$_USER_PARM_VALUES;
drop table REPCAT$_OBJECT_PARMS;
drop table REPCAT$_TEMPLATE_PARMS;
drop table REPCAT$_TEMPLATE_OBJECTS;
drop table REPCAT$_TEMPLATE_REFGROUPS;
drop table REPCAT$_OBJECT_TYPES;
drop table REPCAT$_USER_AUTHORIZATIONS;
drop table REPCAT$_REFRESH_TEMPLATES;
drop table REPCAT$_TEMPLATE_TYPES;
drop table REPCAT$_TEMPLATE_STATUS;
drop table REPCAT$_FLAVOR_OBJECTS;
drop table REPCAT$_AUDIT_COLUMN;
drop table REPCAT$_AUDIT_ATTRIBUTE;
drop table REPCAT$_PARAMETER_COLUMN;
drop table REPCAT$_RESOL_STATS_CONTROL;
drop table REPCAT$_RESOLUTION_STATISTICS;
drop table REPCAT$_RESOLUTION;
drop table REPCAT$_RESOLUTION_METHOD;
drop table REPCAT$_CONFLICT;
drop table REPCAT$_GROUPED_COLUMN;
drop table REPCAT$_COLUMN_GROUP;
drop table REPCAT$_PRIORITY;
drop table REPCAT$_PRIORITY_GROUP;
drop table REPCAT$_REPGROUP_PRIVS;
drop table REPCAT$_DDL;
drop table REPCAT$_REPCATLOG;
drop table REPCAT$_REPPROP;
drop table REPCAT$_GENERATED;
drop table REPCAT$_KEY_COLUMNS;
drop table REPCAT$_REPCOLUMN;
drop table REPCAT$_REPOBJECT;
drop table REPCAT$_SNAPGROUP;
drop table REPCAT$_REPSCHEMA;
drop table REPCAT$_FLAVORS;
drop table REPCAT$_REPCAT;
drop table DEF$_DESTINATION;
drop table AQ$_INTERNET_AGENT_PRIVS;
drop table AQ$_INTERNET_AGENTS;
drop table AQ$_SCHEDULES;
drop table AQ$_QUEUES;
drop table AQ$_QUEUE_TABLES;
drop table MVIEW$_ADV_PLAN;
drop table MVIEW$_ADV_JOURNAL;
drop table MVIEW$_ADV_INFO;
drop table MVIEW$_ADV_PARAMETERS;
drop table MVIEW$_ADV_EXCEPTIONS;
drop table MVIEW$_ADV_OUTPUT;
drop table MVIEW$_ADV_ELIGIBLE;
drop table MVIEW$_ADV_CLIQUE;
drop table MVIEW$_ADV_GC;
drop table MVIEW$_ADV_FJG;
drop table MVIEW$_ADV_AJG;
drop table MVIEW$_ADV_ROLLUP;
drop table MVIEW$_ADV_LEVEL;
drop table MVIEW$_ADV_FILTERINSTANCE;
drop table MVIEW$_ADV_LOG;
drop table MVIEW$_ADV_FILTER;
drop table MVIEW$_ADV_TEMP;
drop table MVIEW$_ADV_PRETTY;
drop table MVIEW$_ADV_SQLDEPEND;
drop table MVIEW$_ADV_BASETABLE;
drop table MVIEW$_ADV_WORKLOAD;
drop table LOGMNR_SESSION$;
อีกอัน
select ‘drop table ‘||table_name||’;’ from user_tables where table_name like ‘SMP_%’;
17 October 2011
Syntax Highlighter (เอา code แสดงในเว็บไซต์)
เนื่องจาก เว็บไซต์หรือเว็บบอร์ด แต่กระทั้ง Blog ของผมเองก็ต้องมีการ นำ code demo มาให้ดูกัน แต่การที่ต้องก๊อปปี้ วางเอาดื้อๆ ก็กระไรอยู่ ไปเห็นเว็บที่ทำ Demo Coding ต่างๆ เค้าทำก็เลยหาวิธีทำบ้าง 555 อยากเท่กับเค้าบ้างครับ เลยจัดสักหนึ่งผลงานเพลง ตับ ตับ ๆ เลย
เมื่อเสร็จขั้นตอนแรก ต่อไปก็เป็นส่วนของการใส่ Syntax Highlighter กับข้อความที่เป็นโค๊ดของเราแล้วเด้อ ในการใส่ Code ก็ใส่ตาม page ต่างนั้นที่เราสร้างนั้นแหละครับ ตัวอย่างนะครับ
จากนั้นก็จะได้ผลเป็นอย่างข้างล่างนี้ครับ
ในการใส่จากข้างบน สังเกตตรง class="brush: c;" เป็นการบอกว่า code ที่เราใส่เข้าไปนั้นเป็น Code ภาษาอะไรนะครับ ในที่นี้ผม ใส่ class="brush: c;" เข้าไปนะครับ เพราะ code ผมเป็นภาษาซี ถ้าเป็นอื่นก็เปลี่ยนไปตามภาษาที่ต้องการใส่นั้นแหละครับ แค่นี้ก็เสร็จแล้ว
ภาษาที่สามารถใช้ได้ใน Syntax Highlighter มี
o bash , shell
o cpp , c
o c# , c-sharp , csharp
o css
o delphi , pascal
o diff , patch
o groovy
o java
o js , jscript , javascript
o perl , Perl , pl
o php
o text , plain
o py , python
o ruby , rails , ror
o scala
o sql
o vb , vbnet
o xml , xhtml , xslt , html , xhtml
ถ้าต้องการไฟล์ java และ styles ของ Syntax Highlighter ดาวน์โหลดได้ที่นี่ครับ
:http://bc46.com/Bc46_Upload/download.php?file=2cd03598c671aa88984c22d750e462d8
แค่นี้เราก็สามารถนำ code ไปวางในเว็บไซต์ของเราได้แล้วครับ
ขอบคุณ แหล่งอ้างอิง : http://bc46.com/forum/index.php?topic=465.0
และ http://tonhor.exteen.com/20090411/howto-syntax-highlighter-on-exteen
อ้าว!! มาเริ่มกันเลยครับ
ขั้นแรก นำโค๊ดด้านล่างนี้ไปใส่ไว้ใน ส่วนของ <head>.....</heard> ของเว็บนะครับ
เมื่อเสร็จขั้นตอนแรก ต่อไปก็เป็นส่วนของการใส่ Syntax Highlighter กับข้อความที่เป็นโค๊ดของเราแล้วเด้อ ในการใส่ Code ก็ใส่ตาม page ต่างนั้นที่เราสร้างนั้นแหละครับ ตัวอย่างนะครับ
void main()
{
printf("Hello Greanjub!!");
}
จากนั้นก็จะได้ผลเป็นอย่างข้างล่างนี้ครับ
void main()
{
printf("Hello Greanjub!!");
}
ในการใส่จากข้างบน สังเกตตรง class="brush: c;" เป็นการบอกว่า code ที่เราใส่เข้าไปนั้นเป็น Code ภาษาอะไรนะครับ ในที่นี้ผม ใส่ class="brush: c;" เข้าไปนะครับ เพราะ code ผมเป็นภาษาซี ถ้าเป็นอื่นก็เปลี่ยนไปตามภาษาที่ต้องการใส่นั้นแหละครับ แค่นี้ก็เสร็จแล้ว
ภาษาที่สามารถใช้ได้ใน Syntax Highlighter มี
o bash , shell
o cpp , c
o c# , c-sharp , csharp
o css
o delphi , pascal
o diff , patch
o groovy
o java
o js , jscript , javascript
o perl , Perl , pl
o php
o text , plain
o py , python
o ruby , rails , ror
o scala
o sql
o vb , vbnet
o xml , xhtml , xslt , html , xhtml
ถ้าต้องการไฟล์ java และ styles ของ Syntax Highlighter ดาวน์โหลดได้ที่นี่ครับ
:http://bc46.com/Bc46_Upload/download.php?file=2cd03598c671aa88984c22d750e462d8
แค่นี้เราก็สามารถนำ code ไปวางในเว็บไซต์ของเราได้แล้วครับ
ขอบคุณ แหล่งอ้างอิง : http://bc46.com/forum/index.php?topic=465.0
และ http://tonhor.exteen.com/20090411/howto-syntax-highlighter-on-exteen
16 October 2011
Knowledge Representation (Application Prolog)
ความรู้ (Knowledge) หมายถึง ความเข้าใจในเชิงทฤษฎีและปฏิบัติ ในขอบเขตเรื่องใดเรื่องหนึ่ง(Domain)
จากนั้น มีหน้าต่าง Editor ให้เรา เขียน code นะครับ เมื่อเขียน Code เสร็จ ไปที่
Compile ---> Make , Compile----> Compile buffer
จากนั้นคลิกไปที่หน้าต่างหลักของ SWI-Prolog จะเห็นว่ามีการ Compile แล้ว
ลองทดลองป้อน คำถามเข้าไป ว่า Capital_of(maine,augusta). ต้องมีจุด เพื่อบอกว่าจบคำสั่งนะครับ ในการพิมพ์คำถามสามารถ Tab ได้ครับ
เชิงทฤษฎีมี Data เชิงปฏิบัติมี Rules
ถ้าพูดถึง เรื่องนี้ คงไม่แค้วภาษา Prolog นี้เนี้ย เป็นภาษามีหลักการไม่เหมือนชาวบ้านเค้าเลย ผมว่าเป็นภาษาที่ คนต่างดาวมาสร้างภาษาไว้แน่นอน ครับ 5555555++++
ตัวอย่าง Code
% From the book
% PROLOG PROGRAMMING IN DEPTH
% by Michael A. Covington, Donald Nute, and Andre Vellino
% (Prentice Hall, 1997).
% Copyright 1997 Prentice-Hall, Inc.
% For educational use only
% File CAPITALS.PL or KB.PL
% Knowledge base for several examples in Chapter 2
:- dynamic(capital_of/2). % Remove if not needed. See text, section 2.8.
capital_of(georgia,atlanta).
capital_of(california,sacramento).
capital_of(florida,tallahassee).
capital_of(maine,augusta).
print_a_capital :- capital_of(State,City), write(City), write(' is the capital of '), write(State), nl.
print_capitals :- print_a_capital, fail.
print_capitals.
% From the book
% PROLOG PROGRAMMING IN DEPTH
% by Michael A. Covington, Donald Nute, and Andre Vellino
% (Prentice Hall, 1997).
% Copyright 1997 Prentice-Hall, Inc.
% For educational use only
% File CAPITALS.PL or KB.PL
% Knowledge base for several examples in Chapter 2
:- dynamic(capital_of/2). % Remove if not needed. See text, section 2.8.
capital_of(georgia,atlanta).
capital_of(california,sacramento).
capital_of(florida,tallahassee).
capital_of(maine,augusta).
print_a_capital :- capital_of(State,City), write(City), write(' is the capital of '), write(State), nl.
print_capitals :- print_a_capital, fail.
print_capitals.
แหล่งข้อมูลเอาไว้ อ่านครับ http://samet.skru.ac.th/~tsasalak/ai/lab.htm
Download Prolog ที่ http://www.swi-prolog.org/download/devel
เริ่มต้นกันเลยดีกว่า อิอิ ^^
เปิดโปรแกรม SWI-Prolog ขึ้นมา ไป File--->New
จะได้ หน้าต่างให้บันทึก ให้เป็น *.pl นะครับ แล้วคลิก Save
จากนั้น มีหน้าต่าง Editor ให้เรา เขียน code นะครับ เมื่อเขียน Code เสร็จ ไปที่
Compile ---> Make , Compile----> Compile buffer
จากนั้นคลิกไปที่หน้าต่างหลักของ SWI-Prolog จะเห็นว่ามีการ Compile แล้ว
ลองทดลองป้อน คำถามเข้าไป ว่า Capital_of(maine,augusta). ต้องมีจุด เพื่อบอกว่าจบคำสั่งนะครับ ในการพิมพ์คำถามสามารถ Tab ได้ครับ
จะได้คำตอบ ว่า True เพราะว่าการเรากำหนดข้อเท็จจริงไว้
ในภาษา Prolog นั้นการตอบคำถาม นั้น เมื่อมีการกำหนดค่าข้อเท็จจริงไว้จะตอบตามนั้น แต่ถ้าไม่ได้กำหนดข้อเท็จจริงไว้ แล้วจะตอบเป็นเท็จ (False) เสมอ ครับ
Download เอกสารได้ https://sites.google.com/site/strumjub/internet
Download เอกสารได้ https://sites.google.com/site/strumjub/internet
29 September 2011
Explorer Disappeared from the world.
จะทำอย่างไร เมื่อ Explorer หายไปจาก windows แล้วไงล่ะ ก็คง ต้องกด คีย์อมตะ Ctrl+Alt+Delete ก็จะได้
Windows Task Manager ขึ้นมาสำบายดีจ้าจุฟๆๆ เลย จากนั้นก็ ไปที่ File---->RUN พิมพ์ C:\Windows\explorer.exe แล้ว Enter เบาๆ ก็จะได้ กลับมาแหละ
แต่ถ้ามันหายไปจากโลกแล้วทำอย่างไร ตอบแบบผู้เกรียนๆ ก็ลง windows ใหม่ไง จบ อืม.......นะ ถ้าจะเอาอย่างนั้นก็ OK!!! แต่เมื่อจำเป็นเราก็ควรมีวิชามารกันบ้าง รู้ไว้ใช่ว่า เผื่อเกรียนถาม นะครับ
Command Line เถอะ วัยรุ่น!!!!!! หรือจะทำเป็น shortcuts ก็ได้ เด้อครับ
Wireless Networks pop-up
rundll32.exe van.dll,RunVAN
Advanced Restore
sdclt.exe /restorewizardadmin
Restore Files
sdclt.exe /restorewizard
Backup Location & Settings
sdclt.exe /configure
Add Network Location (wizard)
rundll32.exe shwebsvc.dll,AddNetPlaceRunDll
Indexing Options
control.exe srchadmin.dll
Notification Cache
rundll32.exe shell32.dll,Options_RunDLL 5
Aero (Transparency) Off
Rundll32.exe DwmApi #104
Aero (Transparency) On
Rundll32.exe DwmApi #102
Welcome Center
rundll32.exe oobefldr.dll,ShowWelcomeCenter
Add/Remove Programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0
Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI
Control Panel
RunDll32.exe shell32.dll,Control_RunDLL
Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl
Display Settings
RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3
Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute
Folder Options – File Types
RunDll32.exe shell32.dll,Control_Options 2
Folder Options – General
RunDll32.exe shell32.dll,Options_RunDLL 0
Folder Options – Search
RunDll32.exe shell32.dll,Options_RunDLL 2
Folder Options – View
RunDll32.exe shell32.dll,Options_RunDLL 7
Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW
Hibernate
RunDll32.exe powrprof.dll,SetSuspendState
Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1
Lock Screen
RunDll32.exe user32.dll,LockWorkStation
Mouse Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @0
Map Network Drive
RunDll32.exe shell32.dll,SHHelpShortcuts_RunDLL Connect
Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl
Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl
Regional Settings
RunDll32.exe shell32.dll,Control_RunDLL intl.cpl,,3
Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr
System Properties: Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4
System Properties: Automatic Updates
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5
Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1
User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl
Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl
Windows – About
RunDll32.exe SHELL32.DLL,ShellAboutW
Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Windows Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl
Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW
Open Control Panel (All Items)
explorer.exe shell:::{21ec2020-3aea-1069-a2dd-08002b30309d}
Manage Wireless Networks
explorer.exe shell:::{1fa9085f-25a2-489b-85d4-86326eedcd87}
Sound Control Playback Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl
Sound Control Sounds Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,2
Sound Control Recording Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,1
Add/Remove Programs
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
Add/Remove Windows Components
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
Set Program Access and Computer Defaults
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3
People Near Me
rundll32.exe shell32.dll,Control_RunDLL collab.cpl
People Near Me Sign In Tab
rundll32.exe shell32.dll,Control_RunDLL collab.cpl,,1
Screen Resolution
rundll32.exe shell32.dll,Control_RunDLL desk.cpl
Personalization
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2
Screen Saver
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
Windows Firewall
rundll32.exe shell32.dll,Control_RunDLL firewall.cpl
Device Manager
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl
Power Options
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl
Power Options Change Plan Settings
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl,,1
System Properties
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl
System Properties Hardware Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2
System Properties Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3
System Properties System Protection Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4
System Properties Remote Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5
Pen and Touch Tablet PC Settings
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl
Pen and Touch Tablet PC Settings Flicks Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,1
Pen and Touch Tablet PC Settings Handwriting Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,2
Phone and Modem Options
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl
Phone and Modem Options Modems Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,1
Phone and Modems Options Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,2
Date and Time
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl
Date and Time Additional Clocks
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1
Action Center
rundll32.exe shell32.dll,Control_RunDLL wscui.cpl
Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Delete Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
%WINDIR%
%SYSTEMROOT%
Hard Drive That Contains OS
%HOMEDRIVE%
Users Home Directory
%HOMEPATH%
%USERPROFILE%
Default Temporary Directory
%TEMP%
%TMP%
Program Files
%PROGRAMFILES%
Current Users Application Data Directory
%APPDATA%
อ้างอิงจาก http://www.osattack.com/
แล้วเมื่อไร ที่เราต้องการดู drive all ในเครื่อง ใช้คำสั่ง wmic logicaldisk get name , volumename
ถ้าต้องการเปิด ไปที่ patch ต่างๆ โดยใช้ explorer.exe ตามด้วย argument นะ เช่น
explorer.exe shell:Personal
Windows 7 Only
shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:Ringtones
shell:CommonRingtones
Windows Vista & 7
shell:Common Programs
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:System
shell:CommonVideo
shell:SyncResultsFolder
shell:LocalizedResourcesDir
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:Common Startup
shell:ControlPanelFolder
shell:SampleVideos
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:CD Burning
shell:AppUpdatesFolder
shell:Common Start Menu
shell:LocalAppDataLow
shell:Templates
shell:Gadgets
shell:Programs
shell:Recent
shell:SampleMusic
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Common Desktop
shell:NetHood
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal
ถ้าต้องการ เปิด ไดร์ต่าง ก็ใช้คำสั่ง ตามด้วย ไดร์ที่ต้องการจะเปิด
explorer.exe C: //กรณีต้องการเปิด ไดร์ C
Windows Task Manager ขึ้นมาสำบายดีจ้าจุฟๆๆ เลย จากนั้นก็ ไปที่ File---->RUN พิมพ์ C:\Windows\explorer.exe แล้ว Enter เบาๆ ก็จะได้ กลับมาแหละ
แต่ถ้ามันหายไปจากโลกแล้วทำอย่างไร ตอบแบบผู้เกรียนๆ ก็ลง windows ใหม่ไง จบ อืม.......นะ ถ้าจะเอาอย่างนั้นก็ OK!!! แต่เมื่อจำเป็นเราก็ควรมีวิชามารกันบ้าง รู้ไว้ใช่ว่า เผื่อเกรียนถาม นะครับ
Command Line เถอะ วัยรุ่น!!!!!! หรือจะทำเป็น shortcuts ก็ได้ เด้อครับ
Wireless Networks pop-up
rundll32.exe van.dll,RunVAN
Advanced Restore
sdclt.exe /restorewizardadmin
Restore Files
sdclt.exe /restorewizard
Backup Location & Settings
sdclt.exe /configure
Add Network Location (wizard)
rundll32.exe shwebsvc.dll,AddNetPlaceRunDll
Indexing Options
control.exe srchadmin.dll
Notification Cache
rundll32.exe shell32.dll,Options_RunDLL 5
Aero (Transparency) Off
Rundll32.exe DwmApi #104
Aero (Transparency) On
Rundll32.exe DwmApi #102
Welcome Center
rundll32.exe oobefldr.dll,ShowWelcomeCenter
Add/Remove Programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0
Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI
Control Panel
RunDll32.exe shell32.dll,Control_RunDLL
Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl
Display Settings
RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3
Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute
Folder Options – File Types
RunDll32.exe shell32.dll,Control_Options 2
Folder Options – General
RunDll32.exe shell32.dll,Options_RunDLL 0
Folder Options – Search
RunDll32.exe shell32.dll,Options_RunDLL 2
Folder Options – View
RunDll32.exe shell32.dll,Options_RunDLL 7
Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW
Hibernate
RunDll32.exe powrprof.dll,SetSuspendState
Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1
Lock Screen
RunDll32.exe user32.dll,LockWorkStation
Mouse Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @0
Map Network Drive
RunDll32.exe shell32.dll,SHHelpShortcuts_RunDLL Connect
Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl
Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl
Regional Settings
RunDll32.exe shell32.dll,Control_RunDLL intl.cpl,,3
Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr
System Properties: Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4
System Properties: Automatic Updates
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5
Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1
User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl
Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl
Windows – About
RunDll32.exe SHELL32.DLL,ShellAboutW
Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Windows Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl
Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW
Open Control Panel (All Items)
explorer.exe shell:::{21ec2020-3aea-1069-a2dd-08002b30309d}
Manage Wireless Networks
explorer.exe shell:::{1fa9085f-25a2-489b-85d4-86326eedcd87}
Sound Control Playback Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl
Sound Control Sounds Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,2
Sound Control Recording Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,1
Add/Remove Programs
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
Add/Remove Windows Components
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
Set Program Access and Computer Defaults
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3
People Near Me
rundll32.exe shell32.dll,Control_RunDLL collab.cpl
People Near Me Sign In Tab
rundll32.exe shell32.dll,Control_RunDLL collab.cpl,,1
Screen Resolution
rundll32.exe shell32.dll,Control_RunDLL desk.cpl
Personalization
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2
Screen Saver
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
Windows Firewall
rundll32.exe shell32.dll,Control_RunDLL firewall.cpl
Device Manager
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl
Power Options
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl
Power Options Change Plan Settings
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl,,1
System Properties
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl
System Properties Hardware Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2
System Properties Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3
System Properties System Protection Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4
System Properties Remote Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5
Pen and Touch Tablet PC Settings
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl
Pen and Touch Tablet PC Settings Flicks Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,1
Pen and Touch Tablet PC Settings Handwriting Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,2
Phone and Modem Options
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl
Phone and Modem Options Modems Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,1
Phone and Modems Options Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,2
Date and Time
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl
Date and Time Additional Clocks
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1
Action Center
rundll32.exe shell32.dll,Control_RunDLL wscui.cpl
Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Internet Explorer Specific Commands
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Miscellaneous Variables
Windows Directory%WINDIR%
%SYSTEMROOT%
Hard Drive That Contains OS
%HOMEDRIVE%
Users Home Directory
%HOMEPATH%
%USERPROFILE%
Default Temporary Directory
%TEMP%
%TMP%
Program Files
%PROGRAMFILES%
Current Users Application Data Directory
%APPDATA%
อ้างอิงจาก http://www.osattack.com/
แล้วเมื่อไร ที่เราต้องการดู drive all ในเครื่อง ใช้คำสั่ง wmic logicaldisk get name , volumename
ถ้าต้องการเปิด ไปที่ patch ต่างๆ โดยใช้ explorer.exe ตามด้วย argument นะ เช่น
explorer.exe shell:Personal
Windows 7 Only
shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:Ringtones
shell:CommonRingtones
Windows Vista & 7
shell:Common Programs
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:System
shell:CommonVideo
shell:SyncResultsFolder
shell:LocalizedResourcesDir
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:Common Startup
shell:ControlPanelFolder
shell:SampleVideos
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:CD Burning
shell:AppUpdatesFolder
shell:Common Start Menu
shell:LocalAppDataLow
shell:Templates
shell:Gadgets
shell:Programs
shell:Recent
shell:SampleMusic
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Common Desktop
shell:NetHood
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal
ถ้าต้องการ เปิด ไดร์ต่าง ก็ใช้คำสั่ง ตามด้วย ไดร์ที่ต้องการจะเปิด
explorer.exe C: //กรณีต้องการเปิด ไดร์ C
Subscribe to:
Posts (Atom)
Popular Posts
- How to install Docker container on EVE-NG
- Get Message 'system failure: exception During auth soap: Receiver' on Zimbra Web Admin
- Spanning Tree Protocol
- [ISSUE] Failed to allocate the network(s), not rescheduling, Spawning new instances is fail OpenStack
- How To Adding and Run Docker Container on UnetLab
- How To Set Timezone on Linux CentOS7
- How To Expand Disk (HDD) for UNetLab VM
- How to Configure InterVLAN with Router (Route-on-Stick)
- Download and Install pfSense 2.3 Firewall Open Source
- First Times Import Unified Networking Lab (UNetLab) OVA in VMware Workstation



