Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 copy bat file

Author  Topic 

mateenmohd
Constraint Violating Yak Guru

297 Posts

Posted - 2004-12-19 : 07:07:52
how can create bat file for copy the directories and it files ?

it is possible in IE ?
I want to make bat file when it run, it copy folders and sub folders
to another location how ?

regards.

Mateen

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2004-12-19 : 07:12:21
In Internet Explorer ? No.

However, xcopy or Robocopy do this very well, once you figure out the command line syntax, put it in a .bat file.


Damian
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2004-12-19 : 17:34:16
And just personal opinion here, I would use Robocopy. It's much faster, and has many more features. It's F-R-E-E!!!

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page

mateenmohd
Constraint Violating Yak Guru

297 Posts

Posted - 2004-12-20 : 07:39:33
thanks for response.

there are switch for append the backup.

I want to keep datawise records of file.
I have to make backup of same folder/sub folders every day.

I use following script

@ echo off
cdcls
h:
cd\ll_storage
xcopy h:\ll_storage /s c:\backup_livelink
cdcls
exit


it over write the data.
how can use append in above xcopy command ?

regards

Mateen

Go to Top of Page
   

- Advertisement -