Volume label syntax is incorrect windows 7

On a windows7 machine I was trying to collection the typical gateway following this example:

netsh.exe interface ipv4 set path 0.0.0.0/32 "Internet" 172.16.5.1which returned the complying with error:

The filename, catalog name, or volume label syntax is incorrectWhy is that the situation, and also just how can I deal with collection the traditional gatemethod for my connections?


*

*

You should use your genuine interface"s name rather of "Internet". You have the right to list them through netsh interchallenge show interchallenge.

You watching: Volume label syntax is incorrect windows 7


*

There"s some sort of an "underlying name" to the interface, put up on its 1st development, or once it"s manually adjusted. You deserve to obtain it using:

netsh interconfront ipv4 present configIt can be various from what you watch in the GUI window or from running netsh interconfront present interface

Try utilizing that interface name instead - this operated for me on home windows 7.


*

I just had actually a comparable exact same worry. The difficulty was the " character. I duplicated the netsh from a word record I got from our software application seller and pasted that directly right into the CMD and changed the needed components which failed through the error discussed here. However once I replicated the string at first to notepad and reinserted one from the " I discovered that they are different, so I reinserted both / re-typed both and also the problem is fixed currently.

See more: My Internet Explorer Is Slow, How To Fix Internet Explorer When It Runs Slow


*

Apparently on Windows 7, you must usage a various syntax to execute the command also in the correct context. Prechallenge the conmessage specifiers interface ipv4 through a -c parameter and also quote the whole conmessage specifier. For instance, to set the adapter to DHCP:

netsh -c "interconfront ipv4" set deal with name="Local Area Connection" source=dhcp
Thanks for contributing a response to Super User!

Please be certain to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; ago them up via references or personal suffer.

See more: Fixithere! In Radioshack Ipad Repair, Is Radioshacks Iphone Screen Repair Any G…

To learn more, check out our tips on composing great answers.


Blog post Your Answer Discard

By clicking “Post Your Answer”, you agree to our regards to company, privacy plan and cookie plan


Not the answer you're looking for? Browse other inquiries tagged windows-7 networking or ask your very own question.


website design / logo design © 2021 Stack Exadjust Inc; user contributions licensed under cc by-sa. rev2021.4.7.39017


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and also disclose information in accordance with our Cookie Policy.