Jump to content

NoComment

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by NoComment

  1. This looks like a PHENOMINAL program, we actually use a few similar programs at work (I work at a computer repair shop, most of them, virus's). Just one (free) program I would like to recommend: Hijackthis. I don't know if you will be able to automate it, but if you get it to run a scan with a report, and copy and paste the report to hijackthis.de, it will tell you numerous things that malwarebytes might not pick up. Otherwise, I am going to look forward to checking out this program, and thank you for something I was planning on doing myself .
  2. Ok, I figured out how to use this: 1. Right click the AutoBoat.au3 file. 2. Choose the "Compile with Options" option. 3. Ensure the "Create CUI instead of GUI.exe" option is checked. 4. Compile the script. 5. Copy and paste the compile script into your C:\WINDOWS\ directory (this is to make it easier on you). 6. Go to command prompt 7. Type autoboat.exe "[Directory]" PS: It is easier to move the test.txt file to the C:\ directory and type in autoboat.exe C:\test.txt.
  3. Thanks, rather than having the If statement, I put it as a standalone, and it works perfect now. Thank you.
  4. I am creating a script for work, that will clean out most viruses, but first I have to get all of the user names (to clean out temporary internet files). Global $UserLoc = 'C:\Documents and Settings\', $WinTempLoc = 'C:\WINDOWS\Temp\', $Search, $User Global $UserFolder[1] $Search = FileFindFirstFile($UserLoc & '*') While 1 $User = FileFindNextFile($Search) If @error Then ExitLoop $UserFolder[0] += 1 If UBound($UserFolder) <= $UserFolder[0] Then ReDim $UserFolder[UBound($UserFolder + 1)] $UserFolder[$UserFolder[0]] = $User WEnd Now, that does not work (there are 6 folders in my C:\Documents and Settings\ directory). I get this error: C:\Documents and Settings\Chris\Desktop\Tune Up [XP]\Tune Up [XP].au3 (21) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $UserFolder[$UserFolder[0]] = $User ^ ERROR This though, does: Global $UserLoc = 'C:\Documents and Settings\', $WinTempLoc = 'C:\WINDOWS\Temp\', $Search, $User Global $UserFolder[7] $Search = FileFindFirstFile($UserLoc & '*') While 1 $User = FileFindNextFile($Search) If @error Then ExitLoop $UserFolder[0] += 1 If UBound($UserFolder) <= $UserFolder[0] Then ReDim $UserFolder[UBound($UserFolder + 1)] $UserFolder[$UserFolder[0]] = $User WEnd The issue with this, is it limits it, I of course can have $UserFolder[256], but there is still that limitation, I want it to be able to expand. Can someone help? PS: I am aware of the _FileListToArry function, but it does not work either.
×
×
  • Create New...