XPost: alt.comp.os.windows-10, alt.comp.os.windows-11   
   From: V@nguard.LH   
      
   Michael wrote:   
      
   > VanguardLH wrote:   
   >   
   >> netsh, as with many tools, gives you only top-level help if you use   
   >> " /?". You have to drill down to get to a directive or even   
   >> sub-directive to add /? to get help on the [sub]-directive, like:   
   >>   
   >> netsh /?   
   >> netsh interface /?   
   >> then   
   >> netsh interface ipv4 /?   
   >> then   
   >> netsh interface ipv4 set /?   
   >> then   
   >> netsh interface ipv4 set address /?   
   >>   
   >> You could start at the end if you know all the args you want to specify,   
   >> but I usually have to drill down through the help levels.   
   >>   
   >> There are no man pages in Windows like there is in Linux. Help is built   
   >> into the program. There is the 'help' command, but that just lists some   
   >> DOS-mode programs.   
   >   
   > I tried that, using a logical sequence, and also got stuck at a different   
   > point of the tree but it didn't seem that it would ever work logically.   
   >   
   > netsh /?   
   > ... interface - Changes to the 'netsh interface' context ...   
   >   
   > netsh interface /?   
   > ... ipv4 - Changes to the 'netsh interface ipv4' context.   
   >   
   > netsh interface ipv4 /?   
   > ... set interface - Sets interface parameters. ...   
   >   
   > netsh interface ipv4 set interface /?   
    ^^^^^^^^^   
    \___ address (not interface)   
      
   That would match on the "netsh interface ipv4 set address ..." command   
   you said you were using.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|