Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Batch File
Selby 
      
12 years ago
Dear Alex, Thanks for your reply. I am trying to block IP addresses(not URL's). Have seen an example of a Batch file being used to Unblock/Block Websites in the Hosts File(You Tube), but that is only for Websites(URL's). Really trying to automate a list (.txt) of IP addresses to load to the Windows Advanced Fire Wall settings. Is there a way to make a independent rule, (not a Group Policy) to add IP's to a New rule (To that Group Policy) using a bat file. At the moment I am adding IP's individually, it is time consuming. I was just wondering if a rule could be added this way to the Windows Fire Wall. Rules can be exported but not imported.  Sorry to be so long winded.
Regards
Selby Halfpenny


Reply from Alex Hedley:

I've not done this but you have a couple of options in the hosts file.
Makes the unwanted address link back to local host
127.0.0.1  unwanted.domain

Or make the ip go to your own site saying band website
192.168.100.21   Ownsitewithmessage.domain

I'd have to look into the firewall settings

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/15/2026 7:11:58 PM. PLT: 0s