码迷,mamicode.com
首页 > Windows程序 > 详细

windows powershell 命令

时间:2015-08-07 12:43:27      阅读:142      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!