usually, when we want to copy files from source to destination and when the destination has got same files as that of source then the DOS command prompts the user with overwrite (Yes/no/all)options.
When we say "a" it overwrites all the files in the destination files if they are same files as that of source.
In order to save some time when you copy large amount of files. Here is the option...
Create a txt file(let's say n.txt) with a single line of all "n"(nnnnnnn) then run the batch files with the following content...
xcopy Test1 Test2 < n.txt
Another option would be to use Robocopy.exe. This would only copy the files which has got different size and timestamp.
robocopy test1 test2.
Tuesday, August 16, 2011
Tuesday, June 7, 2011
Update Service Reference for a Silverlight Application
Updating the service reference for a silverlight application sometimes throws an error
Custom tool error: Failed to generate code for the service reference...
and it also deletes the content in ServiceReference.ClientConfig file.
Solution steps.
1. Right click on the Referred WCF service under Service References
2. Select "Configure Service References..."
3. Uncheck "Reuse Types in referenced assemblies" checkbox
4. Restores the content in ServiceReference.ClientConfig
Custom tool error: Failed to generate code for the service reference...
and it also deletes the content in ServiceReference.ClientConfig file.
Solution steps.
1. Right click on the Referred WCF service under Service References
2. Select "Configure Service References..."
3. Uncheck "Reuse Types in referenced assemblies" checkbox
4. Restores the content in ServiceReference.ClientConfig
Subscribe to:
Comments (Atom)