Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Setting Default path in cmd

Setting Default path in cmd

Scheduled Pinned Locked Moved System Admin
tutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello guys, I would like to set , for example D:\MYFOLDER\MYPROJECTS as a default folder(instead of C: ) when I run cmd , does anyone know how to do this ?


    "Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill

    K 1 Reply Last reply
    0
    • L Lost User

      Hello guys, I would like to set , for example D:\MYFOLDER\MYPROJECTS as a default folder(instead of C: ) when I run cmd , does anyone know how to do this ?


      "Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill

      K Offline
      K Offline
      K Baruah
      wrote on last edited by
      #2

      If you want to set the default path to a different directory, you may do so by editing the registry. Launch the Registry Editor and navigate to: HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor In the right-pane, double-click Autorun and set the folder there, preceded by a CD\ (as you type in DOS). Kaushik Baruah , Programmer Analyst Cognizant Technology Solutions,India

      L 1 Reply Last reply
      0
      • K K Baruah

        If you want to set the default path to a different directory, you may do so by editing the registry. Launch the Registry Editor and navigate to: HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor In the right-pane, double-click Autorun and set the folder there, preceded by a CD\ (as you type in DOS). Kaushik Baruah , Programmer Analyst Cognizant Technology Solutions,India

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        thanks :)


        "Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups