View unanswered posts | View active topics It is currently 20 Dec 2014 09:04



Post new topic Reply to topic  [ 9 posts ] 
Check Directory And subdirectori are ready for Copy & Paste 
Author Message

Joined: 16 Jul 2012 04:07
Posts: 5
Post Check Directory And subdirectori are ready for Copy & Paste
Hi All,
I am newibe in batch programming. I have a Directory "C:\Test1". Under this directory i have two sub directories "Log1" And "Log2".Under this directory i am writing a log file as text.I want to check the directory and subdirectory are ready for copying all data under "Log1" and "Log2" to "D:\TestDest".How can we check the directory and sub directory are ready for copying data.?
Regards
Dileep Sanker


16 Jul 2012 04:20
Profile

Joined: 23 Dec 2011 13:59
Posts: 2126
Post Re: Check Directory And subdirectori are ready for Copy & P
You are going to have to be a little more specific on what you mean by "Ready for Copying Data".


16 Jul 2012 06:16
Profile

Joined: 16 Jul 2012 04:07
Posts: 5
Post Re: Check Directory And subdirectori are ready for Copy & P
We have to check with "Ready for copying data". It means that these directory and sub directories are not used in other programs. These directory and sub directories are put it in a share folder.


16 Jul 2012 06:32
Profile

Joined: 10 Feb 2012 02:20
Posts: 4501
Post Re: Check Directory And subdirectori are ready for Copy & P
What programs are accessing the data in log1 and log2?
You can forcefully kill the processes that are using the files in log1 and log2, but the files may then be corrupted.

You aren't supplying enough details about the task.


16 Jul 2012 07:27
Profile

Joined: 16 Jul 2012 04:07
Posts: 5
Post Re: Check Directory And subdirectori are ready for Copy & P
i want to check these sub directories are locked or used by any other program.
Suppose my appln writing something (create and write a txt file) inside the two directories "Log1" and "Log2".How can i find out?.


16 Jul 2012 23:25
Profile

Joined: 23 Dec 2011 13:59
Posts: 2126
Post Re: Check Directory And subdirectori are ready for Copy & P
http://technet.microsoft.com/en-us/sysi ... 96655.aspx


17 Jul 2012 05:48
Profile

Joined: 16 Jul 2012 04:07
Posts: 5
Post Re: Check Directory And subdirectori are ready for Copy & P
Pls give me more clarifications and give me a simple example . I can't able to use third party utility.


17 Jul 2012 06:39
Profile

Joined: 23 Dec 2011 13:59
Posts: 2126
Post Re: Check Directory And subdirectori are ready for Copy & P
dileep2363 wrote:
Pls give me more clarifications and give me a simple example . I can't able to use third party utility.

How is that a 3rd party utility. It is owned my Microsoft.


17 Jul 2012 06:47
Profile

Joined: 16 Jul 2012 04:07
Posts: 5
Post Re: Check Directory And subdirectori are ready for Copy & P
Pls give me a more calrifications about this and how its use.?


17 Jul 2012 07:23
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], ShadowThief and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.