diff --git a/Windows/copy_as_another_user.md b/Windows/copy_as_another_user.md new file mode 100644 index 0000000..4d33178 --- /dev/null +++ b/Windows/copy_as_another_user.md @@ -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 +``` \ No newline at end of file