I want to use my Desktop for saving files of my codes. Looking for Desktop in my OS (C : ) and couldn't find it anywhere. Is it possible to navigate to your desktop? If so how?
By the way, I am using Cygwin.
I want to use my Desktop for saving files of my codes. Looking for Desktop in my OS (C : ) and couldn't find it anywhere. Is it possible to navigate to your desktop? If so how?
By the way, I am using Cygwin.
Assume your windows username is DC.
cd /cygdrive/c/Documents and Settings/DC/Desktop
also note this is the entry point for windows filesystem(s):
ls /cygdrive
I would do this
cd # now in home directory
/home/DC > ln -s /cygdrive/c/Documents and Settings/jim/Desktop ./Desktop # this creates a symbolic link to the real Desktop
/home/DC > alias dtop='cd ~/Desktop'
# put this in your .bashrc or .profile
Now you have a "dtop" alias, or command. You can copy files from cygwin to desktop when you are in cygwin:
/Home/DC cp mycode.c Desktop
You can go to Desktop from anywhere:
dtop
I actually don't have a Documents and Settings folder. Probably because I am using windows vista, which I forgot to mention.
You can run a search from your root directory:
cd \
dir desktop /s /b
Please note that the above command might take a while to complete.
Once you know the path, you can navigate using cd
It says "cannot access desktop: no such file or directory". It's weird that I can't access all these things I have on my screen right now from my C: address.
That is really wierd!
How about this:
cd c:\Users/username/Desktop
Replace username with your windows username.
Thanks, that works!