Jump to content

How To Get Rid Of Ground Moles With Vinegar


Recommended Posts

Ground moles can be a nuisance in your yard, but if you prefer to use natural and non-toxic methods of pest control, using vinegar can be an effective way to get rid of them. The acidic nature of vinegar is thought to irritate the moles and make them want to move on to another location. To use vinegar as a mole repellent, you will need white vinegar and a spray bottle. Fill the spray bottle with the vinegar and then liberally spray it on any visible mole tunnels or hills. You may also want to spray any area where you think moles may be burrowing. Reapply the vinegar every few days until you no longer see any signs of moles in your yard. How To Get Rid Of Ground Moles With Vinegar You can also try pouring vinegar directly into the moles’ tunnels. This may help speed up the process of getting rid of them. It may be helpful to set up a “mole trap” near the tunnel entrances. These are devices that work by triggering a trap to close when a mole walks over it. This traps the mole inside and you can then release it in a nearby forest or field.

Edited by PeytonMelton
Link to comment
Share on other sites

I'm not sure if I understand correctly.  Do you actually mean extension, or do you mean encoding as your example shows/uses?

Basically, you need to know what encoding is expected first, then you can write logic to display a message if it is not what was expected; for example below I used AND logic and a nested IF statement.

#include <FileConstants.au3>
#include <MsgBoxConstants.au3>

;~ Local $iExpectedEncoding = $FO_UTF8
Local $iExpectedEncoding = $FO_UTF8_NOBOM

Local $iEncoding = FileGetEncoding(@ScriptFullPath) ; Retrieve the file encoding of the current script.
If @error Then
    MsgBox($MB_SYSTEMMODAL, "", "Error: Could not obtain the file encoding.")
Else
    If BitAND($iEncoding,$iExpectedEncoding) Then
        MsgBox($MB_SYSTEMMODAL, "", "FileGetEncoding Matches Expected Encoding")
    Else
        MsgBox($MB_SYSTEMMODAL, "", "FileGetEncoding DOES NOT MATCH" & @CRLF & "The value returned was: " & $iEncoding)
    EndIf
EndIf

 

Another tip, when posting code on the forum use the < > symbol, then paste your code in the pop-up window after it loads.

Edited by spudw2k
Link to comment
Share on other sites

  • PeytonMelton changed the title to How To Get Rid Of Ground Moles With Vinegar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...