Results 1 to 2 of 2

Thread: batch script to find a file

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    question batch script to find a file

    I need a batch script to find a files in directory and subdirectories and if the file doesn't exist, need to point the name of the folder in a seprate file.

    For example, I have folder and in that i have 200 subfolders. each subfolder has 2 files, a.txt and b.txt. Need a batch scipt to find a.txt in all subfolders, if any subdirectory is doesn't have the a.txt file, then it should display a name of folder in a seprate output file say output.txt.

    someone pls provide a solution

  2. #2
    Join Date
    Jul 2011
    Posts
    434

    Re: batch script to find a file

    I am not sure about the exact script that can help you to find the files but there is a tool through which you can create a batch script and use it as you want. It is called as XBat 1.0.3. It is a free tool which can help you to create easy batch scripts for various purpose. It is a very easy to use software.

Similar Threads

  1. Windows Batch script to read file
    By SinghR in forum Windows Server Help
    Replies: 1
    Last Post: 28-04-2012, 12:26 PM
  2. Server config file - batch editing script
    By ranjankumar09 in forum Windows Software
    Replies: 3
    Last Post: 28-01-2010, 10:00 PM
  3. Batch Script Text file parse
    By tator.usenet@gmail.com in forum Windows Server Help
    Replies: 5
    Last Post: 25-03-2009, 01:42 AM
  4. How can I play a Wav file from batch/cmd script?
    By NaFula in forum Windows Vista Performance
    Replies: 3
    Last Post: 13-09-2008, 08:51 PM
  5. How to create a script in a DOS batch file to do a loop?
    By Jon Osborn in forum Windows Server Help
    Replies: 2
    Last Post: 27-05-2008, 06:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,921,855.66407 seconds with 17 queries