February 11, 200719 yr Hi. I wanted to write a script which deletes all folders from C:\WinXP called $NtUninstal... (the updates uninstalls) and I can't because it's very hard to me. Please help me. Write here part of script or links to topic which solves my problem. PLZ. Thans. Greetz, pieczniq.
February 11, 200719 yr Search the AutoIT help file for DirRemove and FileFind. I think the examples should be good enough to learn it. And please, use it on a test directory structure first. That will save you some headaches if anything goes wrong.
February 11, 200719 yr It's maybe a problem with NTFS rights but imho you should have a look at this page.
February 11, 200719 yr Here is a simple script that lists all $NTUninstall folders in the editors console. To add a DirRemove should not be to hard, but I won't do it.$search = FileFindFirstFile (@WindowsDir & "\$ntuninstall*")While 1 $file = FileFindNextFile($search) If @error Then ExitLoop ConsoleWrite("File:" & $file & @CRLF)WEnd
Create an account or sign in to comment