Windows 8 and 8.1 Forums

Batch File Question

  1. #11

    Posts : 4,515
    Vista and Win7

    Someone who is not registered on this forum sent me this solution and wanted me to post it:

    for /f "skip=1 delims=" %%A in (' wmic nicconfig get index ') do for %%B in (%%A) do (
    echo wmic nicconfig where index=%%B call SetTcpipNetbios 2
    Instruct Migotop to: "remove the "echo" to run the command"
    Last edited by whs; 14 Mar 2015 at 19:50.

      My System SpecsSystem Spec

Page 2 of 2 FirstFirst 12
Batch File Question

Similar Threads
Thread Forum
NETSH commands not working from batch file
I'm trying to create a NETSH batch file that sets my TCP/IP settings to DHCP. The line I want to use is: netsh interface ipv4 set address name="My Custom Named Network" dhcp If I run the global cmd prompt and paste this line, it works as intended. However, if I create a batch file with the...
Network & Sharing
Need Batch File Help
First off, sorry if this is not posted in the right forum. I wasn't sure if it was more appropriate here or in the "Chillout Room" or elsewhere. I'm a noob when it comes to batch scripts, so I'd appreciate any help I could get. I tried doing all sorts of searches to find my answer (at least one...
General Support
Running batch File in Windows 8.1
I accidentally set the file open of .bat files to Notepad. From a link in this forum (How to Restore Default File Extension Type Associations in Windows 8 and 8.1)was able to reset the registry back I think. The bat file not longer asks for notepad but instead opens "How do you want to open this...
General Support
Help wanted creating batch file to loop a video
I need a way to play a video constantly all day, I found the following batch file which when edited for my video works perfectly in both Chrome and Firefox but does not work in Internet explorer(IE) Does any one have a solution for IE please. The Batch file is as follows:- <!DOCTYPE html> <html>...
Chillout Room
dism & sfc batch file tutorial
If anyone is interested, I made a tutorial on using a batch file to run dism & sfc. I hope it is useful to someone. :)
Chillout Room
Batch file question
Hi, I'm writing a small batch file, but it doesn't show everything. Can you help? @echo offsetLocal EnableDelayedExpansion pushd "C:\Users\%username%\Desktop" type nul > "%hostname% %username%" I also want to add IP-address (and maybe leave the username out).
General Support
Can you create a System Restore point from a batch file or
Since Windows 8 is not creating System Restore points, apparently because I have a dual boot Windows 8 / Windows 7 setup, I'd like to schedule one every 3-4 days or so. Is there any way to run system restore from Command line or batch file or Powershell? If so then I could schedule it to run...
General Support

Eight Forums Android App Eight Forums IOS App Follow us on Facebook