Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Apr 9, 2024
1 parent b917b25 commit 5cd58ff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dev-note/powershell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# PowerShell

[PowerShell 文档](https://learn.microsoft.com/zh-cn/powershell/)

```shell
# 默认关闭
# get-executionpolicy -list
# set-executionpolicy remotesigned 设置
# set-executionpolicy Undefine 删除

# 拷贝目录,递归 src目录不需要/,dst目录有没有/都不影响
# /W 等待确认
# /u 从仅存在于目标上的源复制文件
# /s 复制目录和子目录,除非它们是空的。
# /y 禁止提示你确认覆盖现有目标文件。
# /exclude:FileName1[+[FileName2]][+[FileName3]( )] 排除指定文件,文件中列出了文件名,或字符串与复制文件的绝对路径存在匹配时,排除
# /q 不显示
xcopy src dst /W /u /s /y
```
1 change: 1 addition & 0 deletions index/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- [Mathjax](../articles/mathjax.md)
- [build System](../dev-note/buildSystem.md)
- [debug](../dev-note/debug.md)
- [powershell](../dev-note/powershell.md)
- [nodejs包管理](../nodejs/pkg.md)
- [包管理C++](../dev-note/pkg.md)

Expand Down

0 comments on commit 5cd58ff

Please sign in to comment.