Windows 8 and 8.1 Forums

NETSH commands not working from batch file

  1. #21

    Posts : 68
    Windows 8

    Urgh... I'm gonna present you with the expression "doh!". I found out the problem.

    My network had localized characters which the netsh prompt does not understand. My network was named "Lokalt nätverk" where "ä" is a big no-no. I renamed it to "LAN" and 'lo and behold, batch script working flawless.

    Thanks ALOT for all your time fellas.

      My System SpecsSystem Spec

  2. #22

    Sloe Deth, Californicatia
    Posts : 3,884
    Windows 8 Pro with Media Center/Windows 7

    Ha! Ok, well I guess we hafta use a US keyboard for this heh.

    Go ahead and mark it solved.
      My System SpecsSystem Spec

  3. #23

    Posts : 1
    Win 10

    Quote Originally Posted by Muyfa View Post
    Hmm. Funny thing - I found a program that does what I want. I can even export the commands it uses to a command file, but even doing it that way, a command or batch does simply not work.
    I realize this is 3 yrs old. Is there any chance in getting a copy of the program that you found?

    Thank you,

      My System SpecsSystem Spec

Page 3 of 3 FirstFirst 123
NETSH commands not working from batch file

Similar Threads
Thread Forum
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
netsh issue
I'm running windows 8.1. I'm using netsh hostednetwork to allow my Android to pick up wifi. after a period of time, I can no longer access the net. Everything seems to be the same windows-wise, nothing changed that I can tell, so I'm not sure if this is a windows or Android issue. Droid still shows...
Network & Sharing
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