Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying one drive content to another - Urgent
Message
 
 
To
26/09/2000 16:37:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00421167
Message ID:
00421208
Views:
16
>>>>Hi everyone and especially George & Ed!
>>>>
>>>>I have to quickly copy one drive content to another, except for BackUp directories. How can I do it the simpest way (not neccessary from VFP)?
>>>>
>>>>The code sample would be much appreciated, because it's really urgent.
>>>>
>>>>Thanks a lot in advance.
>>>
>>>I may not have the answer, but here are some relevant questions:
>>>
>>>Operating system?
>>>Are you trying to keep the OS intact, or just get the data moved over?
>>>How many directories are there direclty off the root? (xcopy may be a solution)
>>
>>
>>Hi Steve,
>>
>>Thanks for your quick answer. I returned from vacation and found, that I have a new local 20 GB drive on my Win 95 machine. So from now I will develop on my own local drive and when deploy changes to the server. Right now I want to quickly copy all applications+data, except for BackUp directories (I don't need them) and except Output directory with all subdirectories. I don't know about xcopy, could you please tell me more?
>>
>>Thanks.
>
>Nadya,
>
>xCopy (or any other copy) won't work for Windows applications. Windows apps typically have to be installed from their setup programs (so everything is registered properly).
>
>xCopy is a command line program that makes it easy to copy entire directory trees from one place to another. The same thing can be accomplished by dragging folder in Windows explorer, I just like to write old fashioned batch files :).
>
>Are you not going to keep your old drive in your system? If you are going to keep it, you could move your data directories over to the new drive. Leave all your apps on your existing drive. Set up a "Program Files" directory (or whatever) on the new drive (probably drive D:) and install any new applications into that location.
>
>If you are not going to keep your old drive (along with the new), you would have to do a new windows install on the new drive.
>
>Another possibility (and this may be why this is urgent), is that you showed up to find that you were booting off of the new drive, and that you don't have any of your data or applications. Again, all apps have to be installed.
>
>Let me know in which one of these cases you are finding yourself...

Hi again Steve,

I think, I was not clear enough. When I told about applications, I meant our team work applications, which don't require to register them (at least, we don't distribute them, because they are for internal use only). Currently we have this situation: one server is 'live' server - here we have oldest but working versions of all our applications and real data. The other server is called 'development' server and here we have all quite recent versions of our applications, which are in the 'development stage' right now. I'm an 'in-house' programmer. We also have few outside contractors, which have their own development machines with the same environment and the latest versions of their applications. Up till now I developed directly on Development server. Now we decided to change this order and therefore I got a new 20 GB drive. So, I want to copy once all applications and data directories on my local drive and then I can concentrate on developing and changing my applications without fear to broke something. Of course, almost all applications contain BackUp directories and zip files, which I don't need to have on my local drive, but this is not a big deal, if I copy them too. George Tasker posted a message with code, which I'm going to use.

Again, thanks a lot for your and George's help.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform