aspose file tools*
The moose likes Beginning Java and the fly likes How to save my programs in laptop's drive to desktop using shared network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to save my programs in laptop Watch "How to save my programs in laptop New topic
Author

How to save my programs in laptop's drive to desktop using shared network

kavitha yogaraj
Greenhorn

Joined: Apr 21, 2010
Posts: 19
Hi All,

I do all my java assignments on laptop many of the time and some time I do work on desktop. As my eclipse Ide is stored in local disk c. I don't want to use any hard drive to pick my programs here to there. Instead, I want to program this to happen. So now I want to save my source file(where all my java programs is stored) of laptop to source file of my desktop PC

So to do this. Should I do this -> Write a program to create destination directory in my desktop to copy source directory files of laptop.
Is this enough?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

Why not use an existing solution? Microsoft's SyncToy can do what you want, at least manually. There are others that can do it automatically; once a file is added, removed or changed the changes are propagated to other folders of your choice.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
kavitha yogaraj
Greenhorn

Joined: Apr 21, 2010
Posts: 19
Actually, I want to do using java. As I'm learning java for scjp6 I'd like to do some excersies like this. Yes as you said the changes should propagate to other destination folders .
Steve Fahlbusch
Bartender

Joined: Sep 18, 2000
Posts: 557
    
    7

since this is a learning opportunity - as long as you keep both of your computers backedup - go for it.

and from now on if you need a file, go to your target directory first, if it is not there go to the source and if all else fails you have the backup.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to save my programs in laptop's drive to desktop using shared network
 
Similar Threads
Command Prompt ?
Saving files
Eclipse projects on removable media
classpath problem
Interesting Anomaly with toString() vs. Memory Address