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.
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.

