Windows 8 and 8.1 Forums


What does this command do with the /c? (flushdns)

  1. #1

    What does this command do with the /c? (flushdns)


    Saw a forum where a user tells another user to flush dns like so..

    what does the "flushdns /c" do??

    ipconfig /flushdns /c


    specifically the /c at the end..?


    thanks

      My System SpecsSystem Spec

  2. #2


    Posts : 2,690
    Windows 3.1 > Windows 10
      My System SpecsSystem Spec

  3. #3


    Thanks KYHI,

    I can find everything but the switch /c on the end of flushdns.. maybe that isn't a switch and does nothing..

    for example

    :Files
    ipconfig /flushdns /c
    Last edited by brooksndun; 13 Dec 2015 at 17:41.
      My System SpecsSystem Spec

  4. #4


    I think that applies to cmd.exe when starting from a Run box normally:

    /C Carries out the command specified by string and then terminates
    /K Carries out the command specified by string but remains


    cmd /c ipconfig /all opens a Command Prompt window, runs ipconfig /all then closes the window so you never see anything.
    cmd /k ipconfig /all opens a Command Prompt window, runs ipconfig /all then leaves the window open so you can see the output.
      My System SpecsSystem Spec

  5. #5


    Ok thanks yes it's probably that..

    Was curious to what /c switch does
      My System SpecsSystem Spec

  6. #6


    cmd /? will get you some good info,

    Code:
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    
    C:\Users\Derek>cmd /?
    Starts a new instance of the Windows command interpreter
    
    CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
        [[/S] [/C | /K] string]
    
    /C      Carries out the command specified by string and then terminates
    /K      Carries out the command specified by string but remains
    /S      Modifies the treatment of string after /C or /K (see below)
    /Q      Turns echo off
    /D      Disable execution of AutoRun commands from registry (see below)
    /A      Causes the output of internal commands to a pipe or file to be ANSI
    /U      Causes the output of internal commands to a pipe or file to be
            Unicode
    /T:fg   Sets the foreground/background colors (see COLOR /? for more info)
    /E:ON   Enable command extensions (see below)
    /E:OFF  Disable command extensions (see below)
    /F:ON   Enable file and directory name completion characters (see below)
    /F:OFF  Disable file and directory name completion characters (see below)
    /V:ON   Enable delayed environment variable expansion using ! as the
            delimiter. For example, /V:ON would allow !var! to expand the
            variable var at execution time.  The var syntax expands variables
            at input time, which is quite a different thing when inside of a FOR
            loop.
    Press any key to continue . . .
      My System SpecsSystem Spec

  7. #7


    God dangit... why didn't I think to type /?.. haha..
      My System SpecsSystem Spec

What does this command do with the /c? (flushdns)
Related Threads
CMD command in General Support
>diskpart >list disk there are no fixed disk to show. what is the problem of my laptop? im not so good at computers just starting to learn it... somebody help me on this thing will be greatly appreciated!
Need Refresh command in General Support
I need refresh command (DOS Command). I tried tskill explorer but it restarts explorer. 53264
DOS Command Line in General Support
Hi there- Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space. So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with...
Solved ie 11 command bar missing in Browsers & Mail
I was reorganising my toolbars in ie 11 win 8.1 and inadvertently disabled the command bar. No problem. Right click and reinstate it, but OOPS right click no longer works! Mouse is OK as right click works fine elsewhere (including ie toolbar configuration on other Synergy connected CPUs. Cannot...
Solved ping command in General Support
in which folder can i find ping command
Run command in General Support
I use the Run Command a lot but found in Win 8 it does not keep my previous entries, it is blank every time I go back to Run, the drop down also does not have anything. I am hoping this is just a setting that can be switched on but have not found anything, any assistance would be appreciated.
Eight Forums Android App Eight Forums IOS App Follow us on Facebook