PC Review


Reply
Thread Tools Rate Thread

batch of copy in icon on desktop....

 
 
sal21
Guest
Posts: n/a
 
      13th Jul 2007
I have file .doc and .xls in \\myserverdir\mydir\..... and in c:\\mydir
\
in this two dir are the same number of file with the same name. in
effect i the same dir.
Now i want to create a desktop icon with a a batch DOS or other
language to:
copy from dir of server all files and paste this files in c:\mydir...
but no show the message "file existis do yoy want to overwrite yes/
no..."
Always in this batch or program controll if one of file in c:\mydir is
in use from the user and during the copy show message "attention i
cannot complete the operation of copy becaus you have a file in use,
close it and repeat the operation"

Tath is all.

Tks.

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      13th Jul 2007

"sal21" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have file .doc and .xls in \\myserverdir\mydir\..... and in c:\\mydir
> \
> in this two dir are the same number of file with the same name. in
> effect i the same dir.
> Now i want to create a desktop icon with a a batch DOS or other
> language to:
> copy from dir of server all files and paste this files in c:\mydir...
> but no show the message "file existis do yoy want to overwrite yes/
> no..."
> Always in this batch or program controll if one of file in c:\mydir is
> in use from the user and during the copy show message "attention i
> cannot complete the operation of copy becaus you have a file in use,
> close it and repeat the operation"
>
> Tath is all.
>
> Tks.
>


There are switches for all command line commands. You can see
them by typing

xcopy /? (for example)

at the Command Prompt. In your case I recommend you use xcopy.exe
with these switches: /Y /C, and perhaps also /D.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy shortcut to desktop in a batch file Diane Walker Windows XP General 15 23rd Jul 2008 03:47 AM
batch of copy in icon on desktop.... sal21 Microsoft Windows 2000 1 13th Jul 2007 10:02 PM
Copy MS Access shortcut to desktop with a batch file Lee Windows XP General 7 14th Nov 2006 01:17 PM
batch file for desktop icon Ike Windows XP Basics 1 13th Jun 2006 06:33 PM
copy an icon to desktop lalexander Microsoft Windows 2000 Advanced Server 3 22nd Jan 2004 01:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:28 AM.