Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-11 > #18353 > unrolled thread
| Started by | T <T@invalid.invalid> |
|---|---|
| First post | 2025-04-08 17:52 -0700 |
| Last post | 2025-04-08 17:58 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to alt.comp.os.windows-11
powershell remove directory confusion T <T@invalid.invalid> - 2025-04-08 17:52 -0700
Re: powershell remove directory confusion T <T@invalid.invalid> - 2025-04-08 17:58 -0700
| From | T <T@invalid.invalid> |
|---|---|
| Date | 2025-04-08 17:52 -0700 |
| Subject | powershell remove directory confusion |
| Message-ID | <vt4gbo$327ec$1@dont-email.me> |
Hi All, This does not work (uses `--Force`): PowerShell.exe Remove-Item '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' -Force Remove-Item : Cannot remove item \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6: An unexpected network error occurred. At line:1 char:1 + Remove-Item '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' But this works (no `--force`): C:\NtUtil>PowerShell.exe Remove-Item -Path "\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6" -Recurse <no return message and File Manager verifies it is gone> What the ... ??? Yours in confusion, -T
[toc] | [next] | [standalone]
| From | T <T@invalid.invalid> |
|---|---|
| Date | 2025-04-08 17:58 -0700 |
| Message-ID | <vt4gne$327es$1@dont-email.me> |
| In reply to | #18353 |
On 4/8/25 5:52 PM, T wrote: > PowerShell.exe Remove-Item '\ > \192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' -Force oops that should have been PowerShell.exe Remove-Item -Path "\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6" -Recurse -Force
[toc] | [prev] | [standalone]
Back to top | Article view | alt.comp.os.windows-11
csiph-web