您的位置:百味书屋 > 学校教育 > Win7系统中shell命令有些什么 正文

Win7系统中shell命令有些什么

2016-11-29 11:46:33 来源网站:百味书屋

篇一:Windows常用shell命令大全

Windows常用shell命令大全

基于鼠标操作的后果就是OS界面外观发生改

变, 就得多花学习成本。更主要的是基于界面引

导Path与命令行直达速度是难以比拟的。另外

Geek很大一部分是键盘控,而非鼠标流的。

整理Windows的常用Shell命令,一方面帮助深

入学习Mysql,另一方面准备尝试过渡到Linux家族来。

一、Windows下Shell命令概述

Windows的Shell命令又是Windows的CMD命令。而cmd命令又是原来MS-DOS系统保留下来。

Shell来源路径与配置

对应的命令资源配置在windows的环境变量中:

Windows Shell命令是基于配置好的Path环境变量,对Shell命令在Path路径中依次从前至后搜寻到对应命名的可执行入口。

也就是可以自行编写一些Shell程序,C、Java、Perl等等,然后配置到环境变量中,就可以有自己的私有Shell命令了。大多数默认的 Shell命令对应目标程序打多在―C:/Windows/‖及―C:/Windows/System32‖目录下。而基于Windows的一些应用程序(如Mysql)都会向Windows的Path中配置添加自己的目录。

Shell命令的执行方式

?

?

?

? 一般的是通过调出CMD控制台执行 对于较熟悉的可以自行编写bat批处理Shell命令,然后保存为 .bat 后缀格式文件。 以Win7为例,可以通过Win键调出search 窗口,快捷执行,但不能全部使用 同时可以通过Win+R调出运行窗口来执行

二、常用Shell程序命令大全

?

?

?

?

?

? 显示连接配置 ipconfig /all 显示DNS缓存内容 ipconfig /displaydns 去除DNS缓存内容 ipconfig /flushdns 释放全部(或指定)适配器的由DHCP分配的动态IP地址) ipconfig /release 为全部适配器重新分配IP地址 ipconfig /renew 刷新DHCP并重新注册DNSipconfig /registerdns

?

? 显示DHCP Class IDipconfig /showclassid 修改DHCP Class ID ipconfig /setclassid 关机操作shutdown命令

Shutdown使您能够一次关闭或重新启动一台本地或远程计算机:

语法::

shutdown [/i | /l | /s | /r | /a | /p | /h | /e] [/f] [/m //computername/] [/t XXX] [/d

[p:]XX:YY/c"Comment"]

参数: ? /i : 显示―远程关机对话框‖。/i 选项必须是键入的第一个参数,之后的所有参数都将

被忽略。

? /l : 立即注销当前用户,没有超时期限。不能将 /l 与 /m //computername/ 或 /t 一

起使用。

?

?

? /s : 关闭计算机。 /r : 关机后重新启动计算机。 /a : 取消关机操作(仅在超时期限内有效)。a 参数仅可以与 /m //computername/

一起使用。

? /p : 仅关闭本地计算机(而不是远程计算机),没有超时期或警告。/p 只能和 /d 一

起使用。如果您的计算机不支持关闭电源功能,使用 /p 将关闭系统但不会切断您的计算机电源。

?

?

?

? /h : 使本地计算机处于休眠状态(如果已启用休眠)。仅可将 h 与 /f 一起使用。 /e : 允许在目标计算机上记录意外关机原因。 /f : 强制关闭正在运行的应用程序而不提前警告用户。 /t:设置经过过长时间进行当次操作,定时功能,时间单位为秒

举例:

?

?

? 立即关机:shutdown -s -t 0 30秒后重启:shutdown -r -t 30 取消关机:shutdown -a

网络连接查看命令netstat

篇二:Win7下常用shell命令大全2

Win7下常用shell命令大全

Win 7 shell是Windows 7系统的控制台。对于熟悉了命令行的人来说,用键盘调用程序比鼠标更快更省力。用户可以用“Shell:”命令调用一切可以用资源管理器打开的项目一次完需要很多步骤才能完成的任务,并且使用时的语法也很简单。但许多用户都不知道shell命令有哪些,与可实现的操作,那么接下来我们将对Win7下常用shell命令进行全面解析,帮助用户了解新系统下的新命令。

1、shell:Profile

该命令可以打开用户的总目录。在常规安装的情况下,位置是c:\users\username。你也可以通过点击系统开始菜单上的用户名称访问。也可以通过系统环境变量%userprofile%访问。

2、shell:Personal

这个命令可以打开当前用户的文档文件夹。也可以通过点击开始菜单中的我的文档进行访问。

3、shell:SendTo

这个命令可以访问系统“发送到”文件夹。如果你进入你的个人文件夹,会发现这个文件夹是隐藏的,如果试图双击进入,就会显示错误信息,通过 shell命令则可以正常访问。这是因为这个快捷方式实际上是个跳转入口,为了向后兼容所创建。而真正的SendTo文件夹是隐藏在AppData文件夹下的若干子文件夹。

4、shell:Public

这个命令可以打开公用共享文件夹。如果你使用了家庭组功能,这个命令可以在一个窗口之内先是信息。

5、shell:Common Startup和shell:Startup

这个命令可以显示哪些程序在系统启动时会自动启动。有时程序安装的时候会自动在启动菜单中建立一个快捷方式。

6、shell:ConnectionsFolder

这个命令可以显示当前网络连接。这个命令应该是查看当前网络连接最快捷的方式了。通常的方法是单击网络和共享中心,然后选择更改适配器设置查看。

7、shell:programs和shell:Common Programs

这两个命令可以访问当前用户和系统用户开始菜单中的程序列表。

8、shell:AppData和shell:Local AppData

这两个命令可以打开Roaming Application Data(漫游应用数据文件夹)Local Application Data(本地应用数据文件夹)。这两个文件夹在日常应用中不常用到,你可以发现,像Firefox之类的应用程序在这个文件夹下存储配置信息。

9、shell:Cookies和shell:cache

这两个命令是查看Internet Explorer存储信息最快捷的方式。

10、shell:Profile

当前登录用户的根目录

11、shell:UsersFilesFolder

与shell:profile相同

12、 shell:Personal

当前登录用户的“我的文档”文件夹

13、shell:My Music

当前登录用户的“我的音乐”文件夹

14、shell:My Pictures

当前登录用户的“我的图片”文件夹

15、shell:My Video

当前登录用户的“我的视频”文件夹

16、shell:Contacts

当前登录用户的联系人文件夹

17、shell:Desktop

当前登录用户的桌面文件夹

18、shell:Downloads

当前登录用户的下载文件夹

19、shell:Favorites

当前登录用户的Internet Explorer浏览器收藏夹

20、shell:Searches

当前登录用户的搜索文件夹,保存了已经存储过的搜索结果

21、shell:Links

当前登录用户的链接文件夹,保存了Internet Explorer浏览器的导航面板

22、shell:Public

访问共享用户文件夹

23、shell:Common Desktop

共享用户桌面

24、shell:Common Documents

共享用户我的文档

25、shell:CommonDownloads

共享用户下载文件夹

26、shell:CommonMusic

共享用户音乐文件夹

27、shell:CommonPictures

共享用户图片文件夹

篇三:win7 shell命令大集合

对于熟悉了命令行的人而言,用键盘调用程序比鼠标更快更省力,以下就是国外网站整理出来的有关Windows 7的Shell命令大名单。

您可以用”Shell:”命令调用一切可以用资源管理器打开的项目甚至是一次完成.需要很多步骤才能完成的任务.

Windows 7 Onlyshell:Librariesshell:MusicLibraryshell:VideosLibraryshell:OtherUsersFoldershell:Device Metadata Storeshell:PublicSuggestedLocationsshell:DocumentsLibraryshell:User Pinnedshell:UsersLibrariesFoldershell:PicturesLibraryshell:ImplicitAppShortcutsshell:Ringtonesshell:CommonRingtonesWindows Vista & 7shell:Common Programsshell:GameTasksshell:UserProfilesshell:MyComputerFoldershell:SyncSetupFoldershell:DpapiKeysshell:SamplePlaylistsshell:Favoritesshell:My Videoshell:SearchHomeFoldershell:Systemshell:CommonVideoshell:SyncResultsFoldershell:LocalizedResourcesDirshell:Cookiesshell:Original Imagesshell:CommonMusicshell:My Picturesshell:Cacheshell:Downloadsshell:CommonDownloadsshell:AppDatashell:SyncCenterFoldershell:My Musicshell:ConflictFoldershell:SavedGamesshell:InternetFoldershell:Quick Launchshell:SystemCertificatesshell:Contactsshell:TreePropertiesFoldershell:Profileshell:Start Menushell:Common AppData

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

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

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 Screan 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

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 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


Win7系统中shell命令有些什么》出自:百味书屋
链接地址:http://www.850500.com/news/35062.html
转载请保留,谢谢!
查看更多相关内容>>Win7系统中shell命令有些什么
相关文章
  • Win7系统中shell命令有些什么

    Windows常用shell命令大全Windows常用shell命令大全基于鼠标操作的后果就是OS界面外观发生改变,就得多花学习成本。更主要的是基于界面引导Path与命令行直达速度是难以比拟的。另...

推荐范文