Solved NETSH commands not working from batch file

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 Computer

System One

  • OS
    Windows 8
    System Manufacturer/Model
    -
    CPU
    i5 3570K
    Motherboard
    Asus P8Z77-M
    Memory
    Corsair 16GB
    Graphics Card(s)
    EVGA GTX670 FTW
Ha! Ok, well I guess we hafta use a US keyboard for this heh.

Go ahead and mark it solved.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
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,

Docfxit
 

My Computer

System One

  • OS
    Win 10
Back
Top