Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CD in root not working.. #289

Closed
jovvybersamin opened this issue Oct 14, 2014 · 13 comments
Closed

CD in root not working.. #289

jovvybersamin opened this issue Oct 14, 2014 · 13 comments

Comments

@jovvybersamin
Copy link

When i am in the one of the directory of my root directory and i want to go back to the root directory using this command "cd ~" it is not working however when i am using git bash its running fine.

its said the system cant find the path specified..

@MartiUK
Copy link
Member

MartiUK commented Oct 14, 2014

Because ~ being aliased to $HOME is a feature of bash, cmder runs cmd.exe or powershell which supports ~ .

@jovvybersamin
Copy link
Author

then how to overcome this problem in cmder?.

@MartiUK
Copy link
Member

MartiUK commented Oct 15, 2014

Use %HOME% instead of tilde or use PowerShell (in cmder it's ALT + SHIFT + 2)

@MartiUK MartiUK closed this as completed Oct 23, 2014
@brunowego
Copy link
Contributor

Not have any chance to add this feature in cmder?

@MartiUK
Copy link
Member

MartiUK commented Oct 25, 2014

@brunobatista Unless Microsoft release the source code of cmd.exe or you switch to powershell or bash, no sorry.

@brunowego
Copy link
Contributor

Ok, thanks for reply @MartiUK 👍

@Battlegriffin
Copy link

**Hello everybody , may you all be having an amazing day when you read this.

I just started to learn Git and I downloaded Cmder.

When I want to find anything in it , I get this message that says:

"The system cannot find the path specified"

Can anybody help me to fix this problem , please ?

As a consequence of this I can not find any project because my
Cmder is not finding the location of the folder it is at in the first place.

Thank you everybody!

This a picture of my actual cmder acting up:**

cmder

@daxgames
Copy link
Member

You need to specify the correct paths for those folders there is no desktop folder or documents folder inside cmder

@daxgames
Copy link
Member

Try

Cd ..\desktop

Or

Cd "..\my documents"

@Battlegriffin
Copy link

Thank you very much for your response daxgames , I really appreaciate it.

I tried :
cd %userprofile%/documents and it worked.

But I still don't know how to access my files , check this out:

I have a folder called PROT inside a folder called HTML , in Documents ,
both with capitals.

I want to access the contents of PROT , but when I get there and type "1st",
I get an error , any light on this , man ? , here is the picture of it:

cmder1

@daxgames
Copy link
Member

I dont know what 1st is. Type dir and post the output

@Battlegriffin
Copy link

Dude , I can see the contents !

I do want to say thank you because I did not know how to do that before you
told me , thanks a lot for that man.

On the other hand , what I want to do is to run the javascript file "prot.js" in the
Cmder , would you please give me your thoughts on how to do that?

Thanks a lot , man , here is the output of the command you gave me to try :

cmder2

@daxgames
Copy link
Member

No idea not my area of expertise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants