I Windows-operativsystemer er kommandoprompten et program, der emulerer indtastningsfeltet i en tekstbaseret brugergrænsefladeskærm med Windows’ grafiske brugergrænseflade (GUI).
Det kan bruges til at udføre indtastede kommandoer og udføre avancerede administrative funktioner. Det kan også bruges til fejlfinding og løsning af visse typer af Windows-problemer.
Hyppigt anvendte kommandoer
cd-kommando (change directory)
bruges til at ændre den mappe (sti), som du arbejder i.
Eksempel: cd\windows\system32 flytter prompten til mappestien system32, som er placeret i Windows-mappen.
dir (Mappe)
Giver dig mulighed for at se tilgængelige filer og mapper i den valgte mappe. Indeholder også oplysninger om ændringsdato og størrelse på filer.
Flere ekstra switche kan bruges sammen med kommandoen for at udføre yderligere handlinger. (se Microsoft-vejledningen nedenfor for at få yderligere oplysninger om de tilgængelige kommandoer).
Eksempel: C:\> dir
Dermed vises indholdet af C:-mappen eller drevet.
ipconfig
Denne kommando viser de aktuelle netværksoplysninger for dine adaptere, herunder IP-adresse, standardgateway, undernetmaske osv.
ping
Denne kommando bruges som et fejlfindingsværktøj til at løse netværksproblemer. Den sender en datapakke til et andet system på netværket og afventer et svar, som giver resultaterne.
Eksempel: ping 192.168.0.2
Dette vil pinge computeren med adressen 192.168.0.2 og udsende et hvilket som helst svar.
Hjælp ( /?)
Hjælpekommandoen indeholder oplysninger om en anden kommando, herunder tilgængelige switche til at udføre yderligere opgaver.
Eksempel: ipconfig /help
Commands by run: Windows+R to open the Run dialog, enter eventvwr (or eventvwr.msc)
services.msc
mstsc – Entering “mstsc” into the Run dialog box opens the Remote Desktop Connection app which allows you to connect to another Windows computers over the local network or through the Internet. This helps you use the host computer as your own.
msinfo32 – If you want to quickly get your system information, then the “msinfo32” command is the way to go. At a glance it will display all the system details including the hardware resources and software environment.
sdclt – This command opens the Backup and Restore window that allows you to quickly set a backup schedule or restore any of your previous backups.
compmgmt.msc – The Computer Management app is where you can access almost all the advanced Windows modules like Event Viewer, Shared Folder, System Tools, etc.
cleanmgr – This command allows you to open the Windows Disk Cleanup utility. Once opened, simply select the drive your want to clean up and click the “OK” button.
eventvwr.msc – Windows Event Viewer is where Windows stores all the monitoring and troubleshooting messages. You can use this command to quickly access the Event Viewer application.
control – Every Windows user knows a thing or two about the Windows Control Panel, and using this command you can quickly access the Control Panel with some stumbling around.
mmc – Microsoft Management Console (MMC) is an advanced Windows module that is mainly aimed at system administrators and power users, as it sports all the tools required for configuring and monitoring a Windows system.
resmon – Whenever you want to check how your system resources are being utilized, simply use this Run command, and it displays everything from your CPU to Dist to Network.
– This is one of the lesser-known Run commands. Just enter the backslash into the Run dialog box, and it will open up the C drive. It is one of the quickest ways to access the C drive. Just insert a . (dot)
– This is yet another lesser-known Run command. When executed, it opens the current user’s home folder which hosts all the other local folders like the Downloads, Documents, Desktop, Pictures, etc. just insert (2) .. (dots)
calc – If you want to quickly open the built-in Windows calculator app, typing calc in the Run dialog box is the easiest way to do it.
cmd – Even Windows users have to deal with the command line sometimes. With this command you can quickly open the command prompt without administrator privileges.
16. powershell – If the command prompt is too old for you, then you may want to try PowerShell. Just type this command in the Run dialog box, and you will have your PowerShell opened without administrator privileges.
17. netplwiz – The general user accounts option is available through the Control Panel, but if you want to mess with the advanced user account options, then use this command to open the Advanced User Accounts window. If you want to deal with the Authorization Manager, then use the Run command azman.msc.
About the Author: Self claimed Grafisk Designer John Grandt Velkommen til mit domæne. Dette domæne er for en stor dels vedkommende baseret på WordPress CMS, samt eksperimentale design oplæg og ikke mindst Adobe After Effects Video eksperimenter. Sitet indeholder desuden CV, Resume og andre doks, til download. Venligst giv mig feedback jeg ville blive glad for at høre fra dig.
Denne hjemmeside bruger Matomo Analytics, Vores Matomo Analytics-data er 100 % vores, uden at eksterne parter kigger ind (så som Google) til at indsamle anonyme oplysninger som antallet af besøgende på webstedet og de mest populære sider.At holde denne cookie aktiveret hjælper os med at forbedre vores hjemmeside. Hvis du ikke ønsker der indsamles oplysninger, så tryk på knappen afvis.
Strictly Necessary Cookies
Strengt nødvendigt cookie skal altid være aktiveret, så vi kan gemme dine præferencer for cookieindstillinger.
Hvis du deaktiverer denne cookie, kan vi ikke gemme dine præferencer. Det betyder, at hver gang du besøger denne hjemmeside, skal du aktivere eller deaktivere cookies igen.
Cookie Policy
Mere information om vores anvendelse af cookies og privatlivs politik, finder du på siden Privacy & Cookie Policy