How to Navigate to Windows Desktop?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to Navigate to Windows Desktop?
# 1  
Old 11-23-2013
How to Navigate to Windows Desktop?

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.
# 2  
Old 11-23-2013
Assume your windows username is DC.

Code:
cd /cygdrive/c/Documents and Settings/DC/Desktop

also note this is the entry point for windows filesystem(s):

Code:
ls /cygdrive

I would do this

Code:
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:
Code:
/Home/DC cp mycode.c Desktop

You can go to Desktop from anywhere:
Code:
dtop


Last edited by jim mcnamara; 11-23-2013 at 09:18 AM..
# 3  
Old 11-23-2013
Quote:
Originally Posted by jim mcnamara
Assume your windows username is DC.

Code:
cd /cygdrive/c/Documents and Settings/DC/Desktop

also note this is the entry point for windows filesystem(s):
I actually don't have a Documents and Settings folder. Probably because I am using windows vista, which I forgot to mention.
# 4  
Old 11-23-2013
You can run a search from your root directory:
Code:
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
# 5  
Old 11-23-2013
Quote:
Originally Posted by Yoda
You can run a search from your root directory:
Code:
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.
# 6  
Old 11-23-2013
That is really wierd!

How about this:
Code:
cd c:\Users/username/Desktop

Replace username with your windows username.
This User Gave Thanks to Yoda For This Post:
# 7  
Old 11-23-2013
Quote:
Originally Posted by Yoda
That is really wierd!

How about this:
Code:
cd c:\Users/username/Desktop

Replace username with your windows username.
Thanks, that works!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

scp to get a file from windows desktop to UNIX server

Hi, I want to use scp to upload file to my unix server. i am using this: scp D:\testr.txt unixuser@unixhost:/path it returns an error: ssh: D: host/servname not known i am not sure how to tell path of my D drive in the command and how will command understand it has to pick from my... (5 Replies)
Discussion started by: Kohli
5 Replies

2. What is on Your Mind?

Linux Desktop vs Windows 8

Any comments on this Windows 8 OEM specs may block Linux booting | ITworld (16 Replies)
Discussion started by: jgt
16 Replies

3. Shell Programming and Scripting

Getting started with windows and screens without desktop environment

Hi there, Hope the title is sufficiently self explaining. I have no idea how to start and where to start. I don't even know what keywords to google for. I need to build a machine : based on Debian without desktop environment with a quite powerful multi-monitor graphic card able to... (9 Replies)
Discussion started by: chebarbudo
9 Replies

4. Windows & DOS: Issues & Discussions

Get file on our windows desktop from a ubuntu server

Hello, How can I please have a program automatically upload some files from a ubuntu server to my machine desktop that is running windows XP? I would like to be able to do that from the windows machine itself. Thanks, (3 Replies)
Discussion started by: Pouchie1
3 Replies

5. SCO

How to export file from terminal to Windows desktop

I have a file in Unix terminal under $, any command can make this file to be transferred to Windows desktop or C:\, I know that I can use software like FileZilla ftp to transfer file from Unix terminal to desktop. But I am really interested in using command to do this job. anyone knows? (1 Reply)
Discussion started by: wendyz
1 Replies

6. Windows & DOS: Issues & Discussions

ssh client and Windows remote Desktop

Dear All , I want to Access my office computer form the home. The enviourment is like the following : 1- From my home I connect for the office via VPN connection to Unix server lets say it's IP is 11.11.11.11 and till now every thing is OK and I can access the machine normally . 2- In my... (3 Replies)
Discussion started by: habuzahra
3 Replies

7. HP-UX

how to execute script from my desktop windows xp to my HPUX server?

Good day, i would like to get some advice, how will i execute my script in hp ux servers, and how to configure rsh and rexec. thanks (2 Replies)
Discussion started by: kenshinhimura
2 Replies

8. Shell Programming and Scripting

AIX , unix ftp to windows desktop

Hi guys, i want to know if i can make a script to ftp or sftp files from the unix box to my windows desktop or c: drive. I log into the server through Putty, once in the server i run a script which makes a file called disk.log every 30 minutes. i then have to manually copy it to the computer... (2 Replies)
Discussion started by: hassanj
2 Replies

9. UNIX for Advanced & Expert Users

view remote linux desktop on my windows machine

Hi, is there anyway i can view a remote linux desktop on my windows desktop? i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock. If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies

10. HP-UX

to put the unix script output on windows desktop

Hi could you pls guide a to automate that unix script output is avaialble on desktop.i can FTP and then download but i want to automate it. rgds (1 Reply)
Discussion started by: Assassin
1 Replies
Login or Register to Ask a Question