About 584,000 results
Open links in new tab
  1. Setting and getting Windows environment variables from the …

    I want to set an environment variable from the command prompt and then be able to access it globally (for instance, I should see it by going to System -> Environment Variables).

  2. How to get Windows Command prompt to display time?

    I would like my command prompt (not powershell, just command prompt) to show the time, something like this: 14:02> Is there a way to do this? Basically, I leave things running from …

  3. How can I delete all files/subfolders in a given folder via the …

    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.

  4. How do you list all processes on the command line in Windows?

    Sep 10, 2008 · 94 There is a tool called Windows Management Instrumentation Command-line tool (wmic.exe). You can call wmic process list to see all processes.

  5. How do I set a default directory when opening a Command …

    Sep 26, 2023 · I'm using Windows 10 without admin privileges. I would like the command prompt to default to a directory when I open an instance. I have tried setting the following environment …

  6. Can I launch URLs from command line in Windows? - Super User

    Sep 6, 2009 · Windows Server 2016: First time it displays a prompt asking you to choose a default browser, with a checkbox asking "Always use this app".

  7. How to run program from command line with elevated rights

    Oct 15, 2009 · Is there a way to run a program or command with elevated rights when I am already in a non-elevated command line? Exactly the same action that would be performed …

  8. cmd.exe - Running .exe in command prompt - Super User

    Feb 12, 2015 · 9 Open command prompt -> Got to your .exe 's location using cd command -> execute your .exe You can add Console.ReadKey() at the end of your code so that program …

  9. How can I display the contents of an environment variable from …

    Sep 29, 2011 · 882 In Windows Command-Prompt the syntax is echo %PATH% To get a list of all environment variables enter the command set without any parameters. To send those …

  10. How can I clear the current line of the Windows command prompt?

    Dec 1, 2020 · 87 How can I clear the current line in the command prompt? (I'm using Windows 7.) Too often, I enter a command, execute it, get many lines of output, then wish to enter another …