Login Register






ip.bat (network script) filter_list
Author
Message
ip.bat (network script) #1
-- removed post content --
(This post was last modified: 01-10-2017, 04:57 AM by bitm0de.)
- mostly braindead monkeys on this forum.

[+] 1 user Likes bitm0de's post
Reply

RE: ip.bat (network script) #2
Not a necessary addition, but you could prompt the user and request UAC if you don't already have it. All around good, clean (as far as Batch goes) script though, nice work Biggrin

http://stackoverflow.com/a/10052222/5388567
(This post was last modified: 12-09-2016, 04:56 AM by Inori.)
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

[+] 1 user Likes Inori's post
Reply

RE: ip.bat (network script) #3
(12-09-2016, 04:55 AM)Inori Wrote: Not a necessary addition, but you could prompt the user and request UAC if you don't already have it. All around good, clean (as far as Batch goes) script though, nice work Biggrin

http://stackoverflow.com/a/10052222/5388567

I usually hate doing stuff in VBScript like that in batch. If you're going to write out a script to disk, execute it, then delete it, might as well just write the entire thing in VBScript or port it to powershell. That's just my opinion though. There's tricks to detect whether elevated permissions are active or not, but of course you could only use this to notify the user, not request UAC. If I really wanted to do it from batch I would just create my own program and put it in %PATH% or something, but it's an added dependency still.
(This post was last modified: 12-12-2016, 05:26 PM by bitm0de.)
- mostly braindead monkeys on this forum.

Reply

RE: ip.bat (network script) #4
Much cleaner written than all the batch I've made in the past.

I'm sure some of the users here will find this useful.
telegram: @satan_sl

Reply