Search found 4 matches

by swift.fire
02 Jun 2009 07:21
Forum: DOS Batch Forum
Topic: Creation of directory structure using DOS batch
Replies: 1
Views: 4076

Creation of directory structure using DOS batch

I would like to create a directory as follows

mkdir c:\abc def
(The directory name is 'abc def')

while running this command, two directories abc and def are created in two different folders.

any help will be appriciated.
by swift.fire
22 May 2009 03:10
Forum: DOS Batch Forum
Topic: Errorhandling in dos .bat files
Replies: 3
Views: 10538

Errorhandling in dos .bat files

Is there any error handling mechanism in the .bat files?
by swift.fire
22 May 2009 03:09
Forum: DOS Batch Forum
Topic: Copy a folder from local to remote machine
Replies: 3
Views: 6143

I would like to create a log of the files which failed to copy. How do I implement it through a batch.

I want something like this
do copy
{
if(copy sucessful)
{log the file names}
else
{log the file names}
}

Bacally I want to differentiate between copy and failed to copy scenarios.
by swift.fire
21 May 2009 05:30
Forum: DOS Batch Forum
Topic: Copy a folder from local to remote machine
Replies: 3
Views: 6143

Copy a folder from local to remote machine

I have to copy o folder(with subfolders and files) os size ~ 5GB. My requirements: 1) The batch should not stop even if it encounters an error(like unable to copy a particular file.) 2) should be able to log the error. 3) Should also show that the copy is sucessful ie the content of source and desti...