Question:

Need a help in cmd prompt?

by  |  earlier

0 LIKES UnLike

Hello.........

I want some help regarding cmd commands. I want to know how/wheather i can run my programs using commands in command prompt.

ie. if I type some applications name in the cmd prompt then it must open. like notepad ,mspaint

 Tags:

   Report

9 ANSWERS


  1. For Notepad

    Go to Command Prompt

    Type cd\

    You will return to C:

    Type cd Windows

    You will see:

    C:\Windows

    Type Notepad

    Note pad will open

    For MSpaint:

    Afre coming to C: Windows, type cd system32

    You will see:

    C:\Windows\system32

    Type Mspaint

    Mspaint will open

    This is valid for the normal directories in which MSpaint or notepad are kept.  If your packeges are kept in other directories, you will have to go to these directories.


  2. dir                       List the contents of the current DIRectory

    cd x*x                CHANGE DIRECTORY to the sub-directory x*x

    cd /                    CHANGE DIRECTORY to the root directory

    cd ..                   CHANGE DIRECTORY up one directory level

    x:                       Change drive to drive x (usually c, d, etc..)

    copy x*x yyy      COPY the file x*x into a new file called yyy

    copy x*x zzz\     COPY the file x*x into the sub-directory zzz

    copy x*x .           COPY the file x*x into the current working directory

    ren x*x yyy         REName the file named x*x to a file named yyy

    move x*x yyy\     MOVE the file x*x into the sub-directory yyy

    move x*x .          MOVE the file x*x into the current directory

    del x*x               REMOVE (delete) the file x*x

    md x*x               MAKE DIRECTORY x*x under the current directory

    type x*x             CATALOGUE (display to screen) contents of file x*x

    edit                    Open a simple text editor

    edit x*x              Open file x*x in the editor

    So if type in the actual file (nothing else) including the file extension it should open with the default editor, usually notepad. This will open the source code, not run the application

    If you want to actually run a program in cmd, you must compile it first. This is done by typing... (file_name being you file)

    * being extension......

    "gpp file_name.*"  

    and then type...

    "a.exe"  ...

    which will run the last compiled program, which will be the one you just compiled

    I hope I could have been of assistance

  3. Sure you can, if you want. It's easier to open them from the Run dialog, but whatever.

    You'll need to make sure the program you want is located within a directory listed in the PATH environment variable, otherwise you would first have to CD to the program's directory, or type in the full path when running. For all executable files (.exe, .com, .bat, .cmd) you DON'T need to type the file extension, unless for reasons of ambiguity.

  4. Yes, you can run most of your programs. Go to the disk containing them (eg: d: or c:) Now type "cd <name of directory\sub directory > etc. Now type the name of the application followed by ".exe". (eg notepad.exe). Some windows applications open directly . their location is in the default "path".

  5. calc -calculator

    dsa.msc -ads

    compmgmt.msc- manage

    winword- msword

    regedit- registry editor

    gpedit-group policy editor

    seriveces.msc-services

    msconfig-configuration

    ntbackup-backup

    there r more

    cant think  

  6. Here is the list :

    1. Accessibility Controls - access.cpl

       2. Accessibility Wizard - accwiz

       3. Add Hardware Wizard - hdwwiz.cpl

       4. Add/Remove Programs - appwiz.cpl

       5. Administrative Tools - control admintools

       6. Automatic Updates - wuaucpl.cpl

       7. Bluetooth Transfer Wizard - fsquirt

       8. Calculator - calc

       9. Certificate Manager - certmgr.msc

      10. Character Map - charmap

      11. Check Disk Utility - chkdsk

      12. Clipboard Viewer - clipbrd

      13. Command Prompt - cmd

      14. Component Services - dcomcnfg

      15. Computer Management - compmgmt.msc

      16. Control Panel - control

      17. Date and Time Properties - timedate.cpl

      18. DDE Shares - ddeshare

      19. Device Manager - devmgmt.msc

      20. Direct X Troubleshooter - dxdiag

      21. Disk Cleanup Utility - cleanmgr

      22. Disk Defragment - dfrg.msc

      23. Disk Management - diskmgmt.msc

      24. Disk Partition Manager - diskpart

      25. Display Properties - control desktop

      26. Display Properties - desk.cpl

      27. Dr. Watson System Troubleshooting Utility - drwtsn32

      28. Driver Verifier Utility - verifier

      29. Event Viewer - eventvwr.msc

      30. Files and Settings Transfer Tool - migwiz

      31. File Signature Verification Tool - sigverif

      32. Findfast - findfast.cpl

      33. Firefox - firefox

      34. Folders Properties - control folders

      35. Fonts - control fonts

      36. Fonts Folder - fonts

      37. Free Cell Card Game - freecell

      38. Game Controllers - joy.cpl

      39. Group Policy Editor (for xp professional) - gpedit.msc

      40. Hearts Card Game - mshearts

      41. Help and Support - helpctr

      42. HyperTerminal - hypertrm

      43. Iexpress Wizard - iexpress

      44. Indexing Service - ciadv.msc

      45. Internet Connection Wizard - icwconn1

      46. Internet Explorer - iexplore

      47. Internet Properties - inetcpl.cpl

      48. Keyboard Properties - control keyboard

      49. Local Security Settings - secpol.msc

      50. Local Users and Groups - lusrmgr.msc

      51. Logs You Out Of Windows - logoff

      52. Malicious Software Removal Tool - mrt

      53. Microsoft Chat - winchat

      54. Microsoft Movie Maker - moviemk

      55. Microsoft Paint - mspaint

      56. Microsoft Syncronization Tool - mobsync

      57. Minesweeper Game - winmine

      58. Mouse Properties - control mouse

      59. Mouse Properties - main.cpl

      60. Netmeeting - conf

      61. Network Connections - control netconnections

      62. Network Connections - ncpa.cpl

      63. Network Setup Wizard - netsetup.cpl

      64. Notepad notepad

      65. Object Packager - packager

      66. ODBC Data Source Administrator - odbccp32.cpl

      67. On Screen Keyboard - osk

      68. Outlook Express - msimn

      69. Paint - pbrush

      70. Password Properties - password.cpl

      71. Performance Monitor - perfmon.msc

      72. Performance Monitor - perfmon

      73. Phone and Modem Options - telephon.cpl

      74. Phone Dialer - dialer

      75. Pinball Game - pinball

      76. Power Configuration - powercfg.cpl

      77. Printers and Faxes - control printers

      78. Printers Folder - printers

      79. Regional Settings - intl.cpl

      80. Registry Editor - regedit

      81. Registry Editor - regedit32

      82. Remote Access Phonebook - rasphone

      83. Remote Desktop - mstsc

      84. Removable Storage - ntmsmgr.msc

      85. Removable Storage Operator Requests - ntmsoprq.msc

      86. Resultant Set of Policy (for xp professional) - rsop.msc

      87. Scanners and Cameras - sticpl.cpl

      88. Scheduled Tasks - control schedtasks

      89. Security Center - wscui.cpl

      90. Services - services.msc

      91. Shared Folders - fsmgmt.msc

      92. Shuts Down Windows - shutdown

      93. Sounds and Audio - mmsys.cpl

      94. Spider Solitare Card Game - spider

      95. SQL Client Configuration - cliconfg

      96. System Configuration Editor - sysedit

      97. System Configuration Utility - msconfig

      98. System Information - msinfo32

      99. System Properties - sysdm.cpl

    100. Task Manager - taskmgr

    101. TCP Tester - tcptest

    102. Telnet Client - telnet

    103. User Account Management - nusrmgr.cpl

    104. Utility Manager - utilman

    105. Windows Address Book - wab

    106. Windows Address Book Import Utility - wabmig

    107. Windows Explorer - explorer

    108. Windows Firewall - firewall.cpl

    109. Windows Magnifier - magnify

    110. Windows Management Infrastructure - wmimgmt.msc

    111. Windows Media Player - wmplayer

    112. Windows Messenger - msmsgs

    113. Windows System Security Tool - syskey

    114. Windows Update Launches - wupdmgr

    115. Windows Version - winver

    116. Windows XP Tour Wizard - tourstart

    117. Wordpad - write


  7. yes you can. go to the directory your exe is in using cd command and type the name of application. don't forget to add extension .exe

  8. just Type mspaint.exe   or notepad.exe and prss enter

  9. Go to command prompt:

    you can use shortcut to open command prompt as below.

    use WinKey + R - type :"cmd" (without qoutes) into runwindow.

    1. type notepad.exe - itl'll open notepad

    2. type mspaint.ext - it'll open MS-paint

    other way could be create a batch file.

    eg.

    1. Open notepad

    2. type "call mspaint.exe" into it (without qoutes).

    3. save it as paint.bat not txt file.

    4. go to command prompt and open that file by just typing its name,itll open MS-paint

Question Stats

Latest activity: earlier.
This question has 9 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.