China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-26 01:30
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Urgent] Encountering commands in batch processing that need to be layered, like netsh View 2,085 Replies 0
Original Poster Posted 2003-07-03 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 205
Posts 19
Joined 2003-06-06 00:00
23-year member
UID 3959
Gender Male
Status Offline
In batch processing, for commands like netsh that need to be layered, such as:
c:\>netsh
>netsh>int
>netsh>intface>ip
How to handle it when writing a batch? I saw an article saying to save it as a.sh file and then use netsh exec *.sh to call it, but it didn't work when I tried. I don't know where the mistake is.

Forum Jump: