首页 > Windows开发 > 详细

windows powershell 命令

时间:2015-08-07 12:41:58      阅读:158      评论:0      收藏:0      [点我收藏+]

Windows

 

pwd

print working directory  //当前路径

hostname

my computer‘s network name  //计算机名称

mkdir

make directory  //创建文件夹

cd

change directory   改变路径

Cd..   //向上路径

ls

list directory   //路径列表

rmdir

remove directory   删除文件夹

pushd

push directory  //保留当前路径  直接跳转至另一路径  

popd

pop directory   //回到保留的路径  

cp

copy a file or directory  //复制

robocopy

robust copy

mv

move a file or directory  //重命名

more

page through a file  显示文件内容

rm

removing a file   //删除文件

type

print the whole file

forfiles

run a command on lots of files

dir -r

find files  //寻找文件

select-string

find things inside files  //从某个文件寻找字符串

help

read a manual page  //帮助

help  *XXX*   //  包含有*XXX*的所有命令

  

 

helpctr

find what man page is appropriate

echo

print some arguments

set

export/set a new environment variable

exit

exit the shell

runas

DANGER! become super user root DANGER!

attrib

change permission modifiers

iCACLS

change ownership

 

windows powershell 命令

原文:http://www.cnblogs.com/paullyblog/p/4710102.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!