Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > General Discussion

Vista - syntax error in command prompt?

Reply
 
Old 07-20-2009   #1 (permalink)


vista black 32bit
 
 

syntax error in command prompt?

Can someone fix this for me i dont really knw what this is saying when i put that command in. I wanted to do the command where it turns of the spikes while gaming and for some reason this is the error its showing. I think the statement C:\USERS\KOS>C:\Windows\System32\cmd.exe /k netsh wlan set autoconfig enabled=ye
s interface=Wireless Network Connection

juss needs some corrections juss dont knw what. Plz help thnx

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\USERS\KOS>C:\Windows\System32\cmd.exe /k netsh wlan set autoconfig enabled=ye
s interface=Wireless Network Connection
One or more parameters for the command are not correct or missing.

Usage: set autoconfig [enabled=]yes|no [interface=]<string>

Parameters:

Tag Value
enabled - Set auto configuration logic to enabled or disabled.
interface - Name of the interface for which the setting has to be
changed.

Remarks:

Enable or disable the auto configuration logic on an interface. If it is,
disabled then Windows will not connect to any wireless network
automatically from the specified interface.

Both parameters are required.

Examples:

set autoconfig enabled=yes interface="Wireless Network Connection"


C:\Users\kos>

My System SpecsSystem Spec
Old 07-20-2009   #2 (permalink)


Vista Home Premium 64bit SP2
 
 

Re: syntax error in command prompt?

i didnt know there was a command that worked ive been using Vista anti lag for gaming , can you give me a link to this info so i can have a look please
My System SpecsSystem Spec
Old 07-20-2009   #3 (permalink)


vista black 32bit
 
 

Re: syntax error in command prompt?

My System SpecsSystem Spec
Old 07-20-2009   #4 (permalink)


Vista Home Premium 64bit SP2
 
 

Re: syntax error in command prompt?

thanks im alittle confused though , i know that vista anti lag stops all lag spikes , it seems though that he still gets the odd one so uses wlan optimiser too?

Quote:
Just a very small update.. For grins, I decided to add the little WLAN Optimizer program in addition to my update above and it seems to add a little bit more "effectiveness" on my heavy wireless gaming usage. Another small program called Ping Tester, really helps me see the "smaller spikes". It can be ran on a continual loop and comes in very handy when checking your response times (in milliseconds). If you google WLAN Optimizer and Ping Tester, you should easily be able to find those little programs.. I've included a few screen shots below:
why not JUST run WLAN optimiser or VAL? , they work , i know they do , it seems a waste of time trying his workaround if its not 100% "effective" and ending ip running a 3rd party app anyway

ill give it a go tomorrow see how it works out
My System SpecsSystem Spec
Old 07-20-2009   #5 (permalink)


Vista Home Premium 64bit SP2
 
 

Re: syntax error in command prompt?

oh and as for your command line

C:\USERS\KOS>C:\Windows\System32\cmd.exe /k netsh wlan set autoconfig enabled=yes interface=Wireless Network Connection

the bit in bold^^^^^ is that the actual name of your connection? did you check it?
My System SpecsSystem Spec
Old 07-21-2009   #6 (permalink)


vista black 32bit
 
 

Re: syntax error in command prompt?

i tried running the antilag program and majority of the spikes went away but i styll get some which cause me to lag in games. I will try the optamizer and see which one works better.

The name of the the connection is actually dlink but when i put that it says no such wlan exists so when i put the wireless connection (written besdie dlink in netwrk sharing centre) it gives me something buh there is that syntax error ...
My System SpecsSystem Spec
Old 07-21-2009   #7 (permalink)


Vista Ultimate x64; Win 7 x64 and x32
 
 

Re: syntax error in command prompt?

use:

netsh wlan show all

This will show all WLAN connections so you can get the correct name. I don't have wireless here, so I can't give a better example. If you can't locate the name from that, post a screenshot of the output so we can find the name.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Help with syntax error in command prompt? Gaming
Command Prompt System error 5 General Discussion
Command prompt error Vista General
Command line option syntax error. Type /? for Help Vista mail
Vista RC1 install error, stops 1/2 way and opens command a prompt Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46