About 430,000 results
Open links in new tab
  1. Open CMD as admin with Windows+R shortcut - Super User

    Sep 4, 2015 · My preference for running CMD is to use Windows+R » type cmd » Enter. But this doesn't open it with admin rights. Is there a way to type your way through to command prompt …

  2. How does && work within a batch/cmd script? - Super User

    Dec 21, 2021 · How does && work in a Batch File? && will execute the next command when the previous command returns 0 || will execute the next command when the previous command …

  3. How to run cmd with Admin privileges using command line

    Jul 21, 2015 · 11 Is there a way to run/start cmd as administrator through the command line or a batch file programming in Windows 8? I want to create a batch file which has administrative …

  4. How to get domain name in Windows using command? - Super User

    Mar 1, 2022 · I need a similar command to Linux' domainname on Windows without using any third-party application. Is there such a command?

  5. windows - How can I delete all files/subfolders in a given folder via ...

    Apr 27, 2015 · I would like to delete all files and subfolders using a batch file in Windows 7 and keep the top folder. Basically emptying the folder.

  6. How do I find CMD Properties window in Windows 11? - Super User

    Nov 13, 2023 · In Windows 10 and earlier, opening a CMD window and right clicking on the title bar brought up a Window titled CMD Properties. When I do that in Windows 11, I get a new …

  7. How do I connect to a network share via the Windows Command …

    Oct 7, 2009 · If you don't to map a network drive with net use you can access a UNC Path directly from the Command Prompt using pushd. For example: pushd \\server\share This will create a …

  8. How do I turn off Windows Defender from the command line?

    Feb 28, 2016 · Further Reading An A-Z Index of the Windows CMD command line - An excellent reference for all things Windows cmd line related. sc - Service Control - Create, Start, Stop, …

  9. How do I find the location of an executable in Windows?

    According to the Stack Overflow answer at Is there an equivalent of 'which' on windows?, where.exe does this on Windows 7 and Windows Server 2003 and later: Example C:\> where …

  10. How can I check a system's current NTP configuration?

    May 16, 2012 · I'm hoping to find a quick, memorable command that I can just punch into a CMD console to get the result. A batch file I can carry around with me will do just as well, though. …