Добавить Windows/copy_as_another_user.md

This commit is contained in:
Dhaverd 2026-02-12 05:57:08 +01:00
parent 29d5656643
commit cc410d3f3f

View File

@ -0,0 +1,10 @@
# Copy files or do smth as another user in CMD/Powershell
```cmd
net use x: "\\shared\destination\" /user:domain\user password
:: Copy or do whay you need
copy "source destination" "\\shared\destination\target"
net use x: /d
```