Hi,

Can i ask something?is it possible to make a batch file or something like a script that when i clicked on it, it will open the the command prompt and directly goes to the path that i desire.with out anymore using the command CD D:/my folder


Thank you in advance.

Unfortunately you cannot create a batch file that opens cmd with desired default path.
But you can change the cmd default path(i.e "c:\documents....") to your desired default path.

you need to make little change to your registry to do so .

Here's how you do that

Unfortunately you cannot create a batch file that opens cmd with desired default path.
But you can change the cmd default path(i.e "c:\documents....") to your desired default path.

you need to make little change to your registry to do so .

Here's how you do that

Hi thank you for the reply.but can i restore it back again if ever i don't want to use anymore?.

Hi thank you for the reply.but can i restore it back again if ever i don't want to use anymore?.

Ofcourse, you can . Change your registry values to original as they used to be.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.