Get IPv4 Address 2.0

main.bat

 1 @echo off
 2 color 0a
 3 title Get IPv4 Address 2.0
 4
 5 SETLOCAL ENABLEEXTENSIONS
 6 SETLOCAL ENABLEDELAYEDEXPANSION
 7
 8 set "CS_1=IPv4 Address. . . . . . . . . . . : "
 9
10 for /f "tokens=* delims=" %%i in (‘ipconfig‘) do (
11     set LINE=%%i
12     if "!LINE:~0,1!" neq " " (
13         set NAME=%%i
14     ) else (
15         echo "!LINE!" | find "%CS_1%" > nul
16         if !ERRORLEVEL! equ 0 (
17             echo !NAME!
18             echo %%i
19         )
20     )
21 )
22 pause

附件1

原文地址:https://www.cnblogs.com/rms365/p/11240165.html

时间: 2024-11-01 23:18:26

Get IPv4 Address 2.0的相关文章

使用 IDEA 创建 Maven Web 项目 (异常)- Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket'

运行环境: JDK 版本:1.8 Maven 版本:apache-maven-3.3.3 IDEA 版本:14 maven-jetty-plugin 配置: <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <configuration> <webAppSourceDirectory>${pro

ERROR: unable to bind listening socket for address &#39;127.0.0.1:9000&#39;: Address already in use (98)

刚安装完PHP,启动时报错: # /etc/init.d/php-fpm start Starting php-fpm [15-Apr-2017 13:21:13] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98) [15-Apr-2017 13:21:13] ERROR: FPM initialization failed failed 解决方法: #

unable to bind listening socket for address &#39;127.0.0.1:9090&#39;: Address already in use (98)

unable to bind listening socket for address '127.0.0.1:9090': Address already in use (98) php-fpm 启动错误 9090 端口被占用,所以查看端口被谁占用 sudo netstat -lntup | grep 9090 这个命令才好使 然后pkill掉它 然后重启,OK了 unable to bind listening socket for address '127.0.0.1:9090': Addr

Converting an IPv4 address to different formats

#!/usr/bin/env python import socket from binascii import hexlify def convert_ipv4_address(): for ip_addr in ['127.0.0.1','192.168.0.1']: packed_ip_addr = socket.inet_aton(ip_addr) unpacked_ip_addr = socket.inet_ntoa(packed_ip_addr) print "IP Address:

grails项目启动时的Disconnected from the target VM, address: &#39;127.0.0.1:xxxxx&#39;错误

今天在启动(debug方式)grails项目时,突然出现了一个错误 Connected to the target VM, address: '127.0.0.1:63073', transport: 'socket' Disconnected from the target VM, address: '127.0.0.1:63073', transport: 'socket' 大意就是连接不上目标虚拟机了 在我的理解下,grails项目编译类似于一种缓存的机制,避免项目代码重复编译影响效率,

Connected to the target VM, address: &#39;127.0.0.1:4405&#39;, transport: &#39;socket&#39;

如题:idea DEBUG报错:Connected to the target VM, address: '127.0.0.1:4405', transport: 'socket' 解决方法: 1.查找出占用进程id 2.杀死进程 cmd 输入 命令: 1.netstat -ano|findstr 4405 2.taskkill -f -pid 7986(7896为查询到的进程数) OK问题解决 Connected to the target VM, address: '127.0.0.1:44

centos解决bash: telnet: command not found...&amp;&amp; telnet: connect to address 127.0.0.1: Connection refused拒绝连接

检查telnet是否已安装: [[email protected] src]# rpm -q telnet-serverpackage telnet-server is not installed[[email protected] src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum i

springboot启动成功但是debug出现后面的Connected to the target VM, address: &#39;127.0.0.1:53340&#39;, transport: &#39;socket&#39;

springboot启动成功但是debug出现后面的Connected to the target VM, address: '127.0.0.1:53340', transport: 'socket' 打开Breakpoints面板 ctrl + shift + F8 进入 或者 工具栏 run -->view Breakpoints... 把打勾全去掉 虽然还是有上面的问题,但是项目能正常运行了 解决参照:https://blog.csdn.net/gcj729027291/article/

IDEA debug提示Connected to the target VM, address: &#39;127.0.0.1:xxxxx&#39;, transport: &#39;socket&#39;的原因

这个原因纠缠了我很长一段时间因为并不耽误程序的运行一直没解决.今天在一位同事的指导下发现,idea很正常,不正常的只是我的眼睛... 废话不多说,跟网上资料说的maven版本不兼容,ctrl+shift+F8 去除勾选什么的没有关系. 很明显这里不是显示启动信息的地方,这是显示变量的地方,就是断点进入后变量的展示位置.那么去找你的Console控制台吧 这里是没有的. 然后点击这个按钮就出现了console了. 有的console和endpoints是合并的,仔细一点就好了.如果你也出现了这样的