Compress by 7-Zip
add path Environment -> C:\Program Files\7-Zip
dos command
1.select Source Folder
cd \
cd "SourceFolder"
2. run compress
7z a file.7z *.*
3.copy file to Destination
copy file.7z d:\DestinationFolder\"file_%date:/=-%".7z
4.Delete file from Source Folder
echo Ydel *.*
----------------------------------------------------------------------------------
Compress by Winrar
add path Environment -> C:\Program Files\winrar
dos command
1.select Source Folder
cd \
cd "SourceFolder"
2. run compress
Winrar a file.rar *.*
3.copy file to Destination
copy file.rar d:\DestinationFolder\"file_%date:/=-%".rar
4.Delete file from Source Folder
echo Ydel *.*
วันอาทิตย์ที่ 27 กุมภาพันธ์ พ.ศ. 2554
วันจันทร์ที่ 21 กุมภาพันธ์ พ.ศ. 2554
รวมคำสั่ง Run สำหรับ windows
จะสั่งผ่าน run หรือผ่าน command dos ก็ประยุคใช้กันนะครับ
เรียกโปรแกรม Accessibility Options —> access.cpl
เรียกโปรแกรม Add Hardware —> hdwwiz.cpl
เรียกโปรแกรม Add/Remove Programs —> appwiz.cpl
เรียกโปรแกรม Administrative Tools control —> admintools
ตั้งค่า Automatic Updates —> wuaucpl.cpl
เรียกโปรแกรม Bluetooth Transfer Wizard —> fsquirt
เรียกโปรแกรม เครื่องคิดเลข (Calculator) —> calc
เรียกโปรแกรม Certificate Manager —> certmgr.msc
เรียกโปรแกรม Character Map —> charmap
เรียกโปรแกรม ตรวจสอบดิสก์ (Check Disk Utility) —> chkdsk
เรียกดูคลิปบอร์ด (Clipboard Viewer) —> clipbrd
เรียกหน้าต่างดอส (Command Prompt) —> cmd
เรียกโปรแกรม Component Services —> dcomcnfg
เรียกโปรแกรม Computer Management —> compmgmt.msc
เรียกดู/ตั้ง เวลาและวันที่ —> timedate.cpl
เรียกหน้าต่าง Device Manager —> devmgmt.msc
เรียกดูข้อมูล Direct X (Direct X Troubleshooter) —> dxdiag
เรียกโปรแกรม Disk Cleanup Utility —> cleanmgr
เรียกโปรแกรม Disk Defragment —> dfrg.msc
เรียกโปรแกรม Disk Management —> diskmgmt.msc
เรียกโปรแกรม Disk Partition Manager —> diskpart
เรียกหน้าต่าง Display Properties control desktop —> desk.cpl
เรียกหน้าต่าง Display Properties เพื่อปรับสีวินโดวส์ —> control color
เรียกดูโปรแกรมช่วยแก้ไขปัญหา (Dr. Watson) —> drwtsn32
เรียกโปรแกรมตรวจสอบไดร์ฟเวอร์ (Driver Verifier Utility) —> verifier
เรียกดูประวัติการทำงานของเครื่อง (Event Viewer) —> eventvwr.msc
เรียกเครื่องมือตรวจสอบไฟล์ File Signature Verification Tool —> sigverif
เรียกหน้าต่าง Folders Options control —> folders
เรียกโปรแกรมจัดการ Fonts —> control fonts
เปิดไปยังโฟลเดอร์ Fonts (Fonts Folder) —> fonts
เรียกเกม Free Cell —> freecell
เปิดหน้าต่าง Game Controllers —> joy.cpl
เปิดโปรแกรมแก้ไข Group Policy (ใช้กับ XP Home ไม่ได้) —> gpedit.msc
เรียกโปรแกรมสร้างไฟล์ Setup (Iexpress Wizard) —> iexpress
เรียกโปรแกรม Indexing Service —> ciadv.msc
เรียกหน้าต่าง Internet Properties —> inetcpl.cpl
เรียกหน้าต่าง Keyboard Properties —> control keyboard
แก้ไขค่าความปลอดภัย (Local Security Settings) —> secpol.msc
แก้ไขผู้ใช้ (Local Users and Groups) —> lusrmgr.msc
คำสั่ง Log-off —> logoff
เรียกหน้าต่าง Mouse Properties control mouse main.cpl
เรียกหน้าต่าง Network Connections control netconnections —> ncpa.cpl
เรียกหน้าต่าง Network Setup Wizard —> netsetup.cpl
เรียกโปรแกรม Notepad —> notepad
เรียกคีย์บอร์ดบนหน้าจอ (On Screen Keyboard) —> osk
เรียกหน้าต่าง Performance Monitor —> perfmon.msc
เรียกหน้าต่าง Power Options Properties —> powercfg.cpl
เรียกโปรแกรม Private Character Editor —> eudcedit
เรียกหน้าต่าง Regional Settings —> intl.cpl
เรียกหน้าต่าง Registry Editor —> regedit
เรียกโปรแกรม Remote Desktop —> mstsc
เรียกหน้าต่าง Removable Storage —> ntmsmgr.msc
เรียกหน้าต่าง Removable Storage Operator Requests —> ntmsoprq.msc
เรียกดู Policy ที่ตั้งไว้ (ใช้กับ XP Home ไม่ได้) —> rsop.msc
เรียกหน้าต่าง Scanners and Cameras —> sticpl.cpl
เรียกโปรแกรม Scheduled Tasks control —> schedtasks
เรียกหน้าต่าง Security Center —> wscui.cpl
เรียกหน้าต่าง Services —> services.msc
เรียกหน้าต่าง Shared Folders —> fsmgmt.msc
คำสั่ง Shuts Down —> shutdown
เรียกหน้าต่าง Sounds and Audio —> mmsys.cpl
เรียกเกม Spider Solitare —> spider
แก้ไขไฟล์ระบบ (System Configuration Editor) —> sysedit
แก้ไขการตั้งค่าระบบ (System Configuration Utility) —> msconfig
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มทันที) —> sfc /scannow
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มเมื่อบู๊ต) —> sfc /scanonce
เรียกหน้าต่าง System Properties —> sysdm.cpl
เรียกหน้าต่าง Task Manager —> taskmgr
เรียกหน้าต่าง User Account Management —> nusrmgr.cpl
เรียกโปรแกรม Utility Manager —> utilman
เรียกโปรแกรม Windows Firewall —> firewall.cpl
เรียกโปรแกรม Windows Magnifier —> magnify
เรียกหน้าต่าง Windows Management Infrastructure —> wmimgmt.msc
เรียกหน้าต่าง Windows System Security Tool —> syskey
เรียกตัวอัพเดตวินโดวส์ (Windows Update) —> wupdmgr
เรียกโปรแกรม Wordpad —> write
เรียกโปรแกรม Accessibility Options —> access.cpl
เรียกโปรแกรม Add Hardware —> hdwwiz.cpl
เรียกโปรแกรม Add/Remove Programs —> appwiz.cpl
เรียกโปรแกรม Administrative Tools control —> admintools
ตั้งค่า Automatic Updates —> wuaucpl.cpl
เรียกโปรแกรม Bluetooth Transfer Wizard —> fsquirt
เรียกโปรแกรม เครื่องคิดเลข (Calculator) —> calc
เรียกโปรแกรม Certificate Manager —> certmgr.msc
เรียกโปรแกรม Character Map —> charmap
เรียกโปรแกรม ตรวจสอบดิสก์ (Check Disk Utility) —> chkdsk
เรียกดูคลิปบอร์ด (Clipboard Viewer) —> clipbrd
เรียกหน้าต่างดอส (Command Prompt) —> cmd
เรียกโปรแกรม Component Services —> dcomcnfg
เรียกโปรแกรม Computer Management —> compmgmt.msc
เรียกดู/ตั้ง เวลาและวันที่ —> timedate.cpl
เรียกหน้าต่าง Device Manager —> devmgmt.msc
เรียกดูข้อมูล Direct X (Direct X Troubleshooter) —> dxdiag
เรียกโปรแกรม Disk Cleanup Utility —> cleanmgr
เรียกโปรแกรม Disk Defragment —> dfrg.msc
เรียกโปรแกรม Disk Management —> diskmgmt.msc
เรียกโปรแกรม Disk Partition Manager —> diskpart
เรียกหน้าต่าง Display Properties control desktop —> desk.cpl
เรียกหน้าต่าง Display Properties เพื่อปรับสีวินโดวส์ —> control color
เรียกดูโปรแกรมช่วยแก้ไขปัญหา (Dr. Watson) —> drwtsn32
เรียกโปรแกรมตรวจสอบไดร์ฟเวอร์ (Driver Verifier Utility) —> verifier
เรียกดูประวัติการทำงานของเครื่อง (Event Viewer) —> eventvwr.msc
เรียกเครื่องมือตรวจสอบไฟล์ File Signature Verification Tool —> sigverif
เรียกหน้าต่าง Folders Options control —> folders
เรียกโปรแกรมจัดการ Fonts —> control fonts
เปิดไปยังโฟลเดอร์ Fonts (Fonts Folder) —> fonts
เรียกเกม Free Cell —> freecell
เปิดหน้าต่าง Game Controllers —> joy.cpl
เปิดโปรแกรมแก้ไข Group Policy (ใช้กับ XP Home ไม่ได้) —> gpedit.msc
เรียกโปรแกรมสร้างไฟล์ Setup (Iexpress Wizard) —> iexpress
เรียกโปรแกรม Indexing Service —> ciadv.msc
เรียกหน้าต่าง Internet Properties —> inetcpl.cpl
เรียกหน้าต่าง Keyboard Properties —> control keyboard
แก้ไขค่าความปลอดภัย (Local Security Settings) —> secpol.msc
แก้ไขผู้ใช้ (Local Users and Groups) —> lusrmgr.msc
คำสั่ง Log-off —> logoff
เรียกหน้าต่าง Mouse Properties control mouse main.cpl
เรียกหน้าต่าง Network Connections control netconnections —> ncpa.cpl
เรียกหน้าต่าง Network Setup Wizard —> netsetup.cpl
เรียกโปรแกรม Notepad —> notepad
เรียกคีย์บอร์ดบนหน้าจอ (On Screen Keyboard) —> osk
เรียกหน้าต่าง Performance Monitor —> perfmon.msc
เรียกหน้าต่าง Power Options Properties —> powercfg.cpl
เรียกโปรแกรม Private Character Editor —> eudcedit
เรียกหน้าต่าง Regional Settings —> intl.cpl
เรียกหน้าต่าง Registry Editor —> regedit
เรียกโปรแกรม Remote Desktop —> mstsc
เรียกหน้าต่าง Removable Storage —> ntmsmgr.msc
เรียกหน้าต่าง Removable Storage Operator Requests —> ntmsoprq.msc
เรียกดู Policy ที่ตั้งไว้ (ใช้กับ XP Home ไม่ได้) —> rsop.msc
เรียกหน้าต่าง Scanners and Cameras —> sticpl.cpl
เรียกโปรแกรม Scheduled Tasks control —> schedtasks
เรียกหน้าต่าง Security Center —> wscui.cpl
เรียกหน้าต่าง Services —> services.msc
เรียกหน้าต่าง Shared Folders —> fsmgmt.msc
คำสั่ง Shuts Down —> shutdown
เรียกหน้าต่าง Sounds and Audio —> mmsys.cpl
เรียกเกม Spider Solitare —> spider
แก้ไขไฟล์ระบบ (System Configuration Editor) —> sysedit
แก้ไขการตั้งค่าระบบ (System Configuration Utility) —> msconfig
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มทันที) —> sfc /scannow
ตรวจสอบระบบด้วย System File Checker Utility (เริ่มเมื่อบู๊ต) —> sfc /scanonce
เรียกหน้าต่าง System Properties —> sysdm.cpl
เรียกหน้าต่าง Task Manager —> taskmgr
เรียกหน้าต่าง User Account Management —> nusrmgr.cpl
เรียกโปรแกรม Utility Manager —> utilman
เรียกโปรแกรม Windows Firewall —> firewall.cpl
เรียกโปรแกรม Windows Magnifier —> magnify
เรียกหน้าต่าง Windows Management Infrastructure —> wmimgmt.msc
เรียกหน้าต่าง Windows System Security Tool —> syskey
เรียกตัวอัพเดตวินโดวส์ (Windows Update) —> wupdmgr
เรียกโปรแกรม Wordpad —> write
วันพฤหัสบดีที่ 17 กุมภาพันธ์ พ.ศ. 2554
VPN Connect/Disconnect by dos command
After created your VPN Connection Name by windows os network tool
run command
connect -->rasdial "VPN name" vpn_user vpn_password
disconnect -->rasdial "VPN name" /d
run command
connect -->rasdial "VPN name" vpn_user vpn_password
disconnect -->rasdial "VPN name" /d
open website by dos command
run dos command
explorer your website
example:
explorer http://www.google.com
explorer your website
example:
explorer http://www.google.com
วันพฤหัสบดีที่ 16 ธันวาคม พ.ศ. 2553
outlook can not open file on browser
1. Click Start > Run and type regedit.
2. Click Edit > Find and type OutlookSecureTempFolder.
3. When regedit has found the entry, it will tell you where your Outlook temporary files are stored. It will look similar to:
C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLKrandomnumber
4. Open My Computer and navigate to this location on your hard drive.
5. Delete all of the files in this folder.
6. Restart Microsoft Outlook and you should be able to open your attachment.
2. Click Edit > Find and type OutlookSecureTempFolder.
3. When regedit has found the entry, it will tell you where your Outlook temporary files are stored. It will look similar to:
C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLKrandomnumber
4. Open My Computer and navigate to this location on your hard drive.
5. Delete all of the files in this folder.
6. Restart Microsoft Outlook and you should be able to open your attachment.
SQL Command ที่น่าลองดู
sql select แยกอักษร เล็ก ใหญ่ ไม่รู้จักกัน
จะ select เฉพาะที่ขึ้นต้นด้วย ตัว B ใหญ่ ซึ่ง b เล็กจะไม่มาด้วย
ดูว่ามีใคร connect database เราอยู่บ้าง
exec sp_who หรือ exec sp_who2
จะ select เฉพาะที่ขึ้นต้นด้วย ตัว B ใหญ่ ซึ่ง b เล็กจะไม่มาด้วย
SELECT *
FROM tbvendor where 'B'=substring(ltrim(vendorid),1,1) collate Latin1_General_Bin
ดูว่ามีใคร connect database เราอยู่บ้าง
exec sp_who หรือ exec sp_who2
phpMyAdmin Error on php5 iis6
Cannot load mcrypt extension. Please check your PHP configuration.
edit C:\WINDOWS\php.ini
change ;extension=php_mcrypt.dll to extension=php_mcrypt.dll
edit C:\WINDOWS\php.ini
change ;extension=php_mcrypt.dll to extension=php_mcrypt.dll
สมัครสมาชิก:
บทความ (Atom)