1樓:4終
1、首先在電腦上點選開始選單,找到執行,開啟cmd命令視窗。
2、然後進入想要顯示或者隱藏的資料夾裡。
3、然後輸入dir命令檢視資料夾。
4、這裡本來有乙個.git的資料夾但現在看不見,於是需要 dir /a:h 命令進行檢視。
5、但上述命令只能檢視隱藏檔案,要看到包含隱藏檔案的所有檔案就要執行dir /a *,就可以了。
2樓:匿名使用者
這事分開做,
1,系統顯示所有檔案及檔案字尾,這我用的系統歷來如此,如有天突然主為成隱藏及看不到隱藏檔案,若重啟系統後變預設成隱藏的,這就確認系統中招了,必然會ghost回之前的備份。所以顯示隱藏及字尾用系統的資料夾選項一次性完成就是了。如手上的系統做不到就換系統。
2,如要指定資料夾名為aaa,
第一行是解隱隱、唯讀、系統的,且解的過程不顯示於屏。(/s /d是包括子資料夾及內裡的檔案)
第二行是設隱隱、唯讀、系統的,且設的過程不顯示於屏。(/s /d是包括子資料夾及內裡的檔案)
attrib -h -s -r \aaa\*.* /s /d > nul
attrib +h +s +r \aaa\*.* /s /d > nul
我在win7x64系統下試用是有效的。
3樓:幸運的下雨虹
dir命令檢視目錄下的檔案列表,檢視該目錄下的所有檔案:
dir /a *
attrib命令,更改檔案屬性,去除該目錄下所有檔案(夾)的隱藏屬性:
attrib -h * /s /d
copy拷貝檔案命令,拷貝該目錄下所有檔案到d盤:
copy * "d:\"
xcopy拷貝資料夾命令,命令格式:
xcopy /e /h /y "原資料夾路徑" "現資料夾路徑"
ps:在cmd中如果命令哪個命令不知道用法的話,輸入命令後面加乙個/?就可以檢視用法.如 copy/? 就可以檢視copy命令的用法..
4樓:匿名使用者
attrib 檔名(目錄名) 檢視某檔案(目錄)的屬性
attrib 檔名 -a -r -s -h 或 +a +r +s +h 去掉(新增)某檔案的 存檔,唯讀,系統,隱藏 屬性;用+則是新增為某屬性
5樓:依夢琴瑤
稍等!命令編輯中!
命令如下:
set reg=reg add hkcu\software\microsoft\windows\currentversion\explorer\advanced
rem 顯示隱藏的檔案,資料夾和驅動器 - 1 不顯示 - 2
%reg% /v hidden /t reg_dword /d 1 /f
rem 隱藏已知檔案型別的副檔名 - 1 顯示 - 0
%reg% /v hidefileext /t reg_dword /d 0 /f
rem 隱藏受保護的作業系統檔案(推薦) - 0 顯示 - 1
%reg% /v showsuperhidden /t reg_dword /d 1 /f
taskkill /f /im explorer.exe
start "" explorer.exe
下面這個命令是寫給d6tgukc這位芝麻的。呵呵,借一下地方存放了,呵呵!
reg add hkcu\software\microsoft\windows\currentversion\policies\explorer /v nodrives /t reg_binary /d 00000000 /f
taskkill /f /im explorer.exe
start "" explorer.exe
6樓:嬴政aa鎧甲勇士
@echo off
mode con cols=41 lines=4
title 右鍵選單 顯示/隱藏副檔名及檔案
color 0b
if not exist "%windir%\superhidden.vbs" goto setup
reg delete "hkcr\clsid\" /f >nul 2>nul
del /f /q "%windir%\superhidden.vbs" >nul 2>nul
echo.&echo 卸除完畢。
pause>nul
exit
:setup
color 0a
>"%windir%\superhidden.vbs" echo dim wshshell
>>"%windir%\superhidden.vbs" echo set wshshell = wscript.createobject("wscript.shell")
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcr\clsid\\instance\initpropertybag\clsid", "", "reg_sz"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcr\clsid\\instance\initpropertybag\method", "shellexecute", "reg_sz"
>>"%windir%\superhidden.vbs" echo if wshshell.regread("hkcu\software\microsoft\windows\currentversion\explorer\advanced\hidefileext") = 0 then
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\showsuperhidden", "0", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\hidden", "2", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\hidefileext", "1", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcr\clsid\\instance\initpropertybag\command", "顯示副檔名及檔案", "reg_sz"
>>"%windir%\superhidden.vbs" echo wshshell.sendkeys "+e"
>>"%windir%\superhidden.vbs" echo else
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\showsuperhidden", "1", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\hidden", "1", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcu\software\microsoft\windows\currentversion\explorer\advanced\hidefileext", "0", "reg_dword"
>>"%windir%\superhidden.vbs" echo wshshell.regwrite "hkcr\clsid\\instance\initpropertybag\command", "隱藏副檔名及檔案", "reg_sz"
>>"%windir%\superhidden.vbs" echo wshshell.sendkeys "+e"
>>"%windir%\superhidden.vbs" echo end if
>>"%windir%\superhidden.vbs" echo set wshshell = nothing
>>"%windir%\superhidden.vbs" echo wscript.quit(0)
reg export "hkcu\software\microsoft\windows\currentversion\explorer\advanced" "%temp%\__.reg" >nul
for /f "tokens=2 delims==" %%. in ('find/i "hidefileext" "%temp%\__.reg"') do set v=%%~.
del "%temp%\__.reg"
set v=%v:~-1%
if %v% equ 0 set vv=隱藏副檔名及檔案
if %v% equ 1 set vv=顯示副檔名及檔案
>"%temp%\_.reg" echo regedit4
>>"%temp%\_.reg" echo [hkey_classes_root\directory\background\shellex\contextmenuhandlers\superhidden]
>>"%temp%\_.reg" echo @=""
>>"%temp%\_.reg" echo [hkey_classes_root\clsid\\inprocserver32]
>>"%temp%\_.reg" echo @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,\
>>"%temp%\_.reg" echo 68,64,6f,63,76,77,2e,64,6c,6c,00
>>"%temp%\_.reg" echo "threadingmodel"="apartment"
>>"%temp%\_.reg" echo [hkey_classes_root\clsid\\instance]
>>"%temp%\_.reg" echo "clsid"=""
>>"%temp%\_.reg" echo [hkey_classes_root\clsid\\instance\initpropertybag]
>>"%temp%\_.reg" echo "method"="shellexecute"
>>"%temp%\_.reg" echo "param1"="superhidden.vbs"
>>"%temp%\_.reg" echo "clsid"=""
>>"%temp%\_.reg" echo "command"="%vv%"
regedit /s "%temp%\_.reg"
del /f /q "%temp%\_.reg"
echo.&echo 已新增右鍵 %vv% 。
pause>nul
exit
如何用命令提示符開啟控制面板,如何用命令提示符開啟控制面板
在 開始 執行 中打入 control.exe 或者 control 採納一下唄,謝謝! cmd視窗 control,直接回車,沒有.exe 就這樣的。但是我看你的 你不是在桌面環境下啊,是什麼?安裝系統過程中,按鍵shift f10 出來的cmd視窗啊? 執行命令control.exe 系統檔案丟...
如何用 cmd或者systeminfo 命令檢視密碼
在cmd下進行adsl撥號看起來實在沒必要,不過,如果作為乙個簡單的黑客工具來偵測帳號,倒也不錯,而且你會發現,它很實用。step1.首先要在網路連線裡新建乙個adsl的連線,名字就叫testadsl吧,帳號使用者名稱隨便,不填也可以。s tep2.進入cmd,鍵入命令 rasdial testad...
如何用命令列編譯cpp檔案,如何使用命令列編譯以及執行java檔案
單個檔案 g file.cpp 這是最簡單形式,預設輸出為a.out,可以用 o命令指定輸出檔案,比如g file.cpp f.out 多個檔案 g c 1.cpp o 1.og c 2.cpp o 2.og 1.o 2.o o prog.out鏈結成可執行檔案 一般用g o file file.c...
如何用命令禁止winp系統的時間同步
windows xp所預設設定的時間同步伺服器是time.windows.com,如果想要將它換成其他伺服器位址,那麼開啟 登錄檔編輯器 找到 hkey local machine software microsoft windows currentversion datetime servers ...
linu如何用命令修改超級使用者的密碼
linux普通使用者修改密碼 設定簡單密碼 啟動後進入single mode 進入後 password 更改root密碼 如果是用grub引導,選擇系統時按e 修改引導命令 在boot後 加上 s 或者選擇系統執行模式時輸入boot s 1.在grub引導程式中,在下面給出了一系列提示。按 e 鍵進...