Windows XP是美國微軟公司研發(fā)的基于X86、X64架構(gòu)的PC和平板電腦使用的操作系統(tǒng),于2001年8月24日發(fā)布RTM版本,并于2001年10月25日開始零售。其名字中“XP”的意思來自英文中的“體驗(Experience)”。該系統(tǒng)是繼Windows 2000及Windows ME之后的下一代Windows操作系統(tǒng),也是微軟首個面向消費者且使用Windows NT5.1架構(gòu)的操作系統(tǒng)。
圖形化界面和鼠標(biāo)點擊操作早已占據(jù)主導(dǎo)的如今,微軟仍舊保留命令行模式就證明它還有用武之地,事實上也正是如此,有時候一條命令可以簡化很多步操作。今天小編就給大家講解Windows下如何更高效的打開你的命令行,現(xiàn)在提供兩種方式讓你像在linux中那樣更高效的在當(dāng)前目錄打開命令行.
方式一:
在當(dāng)前目錄按Shift+鼠標(biāo)右鍵, 你就可以看到類似的在此處打開命令行的選項了, 如果你想去掉shift,直接按鼠標(biāo)右鍵就有此選項, 那么你需要用簡單的修改下你的注冊表,
去注冊表位置HKEY_CLASSES_ROOT\Directory\shell\cmd 下面將Extended鍵值刪掉, 如果你還希望驅(qū)動器和桌面也能這樣, 將HKEY_CLASSES_ROOT\Driver\shell\cmd和
HKEY_CLASSES_ROOT\Directory\Background\shell\cmd 下的Extended鍵值去掉即可.
方式二:
用快捷鍵,當(dāng)然會用到人見人愛的Autohotkey. 其Auothotkey代碼如下:
SetTitleMatchMode RegEx
return
; Stuff to do when Windows Explorer is open
;
#IfWinActive ahk_class ExploreWClass|CabinetWClass
; open ‘cmd’ in the current directory
;
#c::
OpenCmdInCurrent()
return
#IfWinActive
; Opens the command shell ‘cmd’ in the directory browsed in Explorer.
; Note: expecting to be run when the active window is Explorer.
;
OpenCmdInCurrent()
{
; This is required to get the full path of the file from the address bar
WinGetText, full_path, A
; Split on newline (`n)
StringSplit, word_array, full_path, `n
; Take the first element from the array
Windows XP服役時間長達(dá)13年,產(chǎn)生的經(jīng)濟(jì)價值也較高。2014年4月8日,微軟終止對該系統(tǒng)的技術(shù)支持,但在此之后仍在一些重大計算機(jī)安全事件中對該系統(tǒng)發(fā)布了補(bǔ)丁。
|