Hi Batcher,
thank you very much! Works perfectly!
Have a nice day, regards
Search found 3 matches
- 24 Jul 2023 02:53
- Forum: DOS Batch Forum
- Topic: Delete file and folder under path with wildcard
- Replies: 3
- Views: 3201
- 23 Jul 2023 13:53
- Forum: DOS Batch Forum
- Topic: Delete file and folder under path with wildcard
- Replies: 3
- Views: 3201
Re: Delete file and folder under path with wildcard
I found it on powershell command:
and works fine from the shell.
Do you know how takes no effect through powershell script?
Thank you!
Code: Select all
powershell -Command "Remove-Item -Path C:\\Users\UT*\AppData\cancellare_contenuto\* -Recurse"
Do you know how takes no effect through powershell script?
Thank you!
- 23 Jul 2023 07:37
- Forum: DOS Batch Forum
- Topic: Delete file and folder under path with wildcard
- Replies: 3
- Views: 3201
Delete file and folder under path with wildcard
Hi all, I have this issue and don't found any solution... (I worked on it all the last week without lucky) I have a structure like this: C:\Users\UT45\AppData\Logs\ C:\Users\CR45\AppData\Logs\ C:\Users\UT45\AppData\Logs\ I need to delete all the file and folder under Logs folder, but only for the us...