Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Searching files using batch files  (Read 3569 times)

0 Members and 1 Guest are viewing this topic.

Vipul Bhargava

  • Guest
Searching files using batch files
« on: April 01, 2004, 10:32:22 PM »
Hey guys,

Just wondering if any of you have a batch file which searchs for files on a computer. Say I'm looking for 5 files, how can I make this easier using batch files. any help would be much appreciated.

Cheers
V

Doomsday_J

  • Guest
Re: Searching files using batch files
« Reply #1 on: April 02, 2004, 11:26:35 AM »
Create the Batch file named findfile.bat

Try this coding:
@echo off
REM  This program lists all of the %1 files on your HD

echo  **************************************
echo.
echo                A list of the %1 files on Drive C
echo.
echo  **************************************
echo.
DIR C:\%1 /b /s /p
« Last Edit: April 02, 2004, 11:27:54 AM by Doomsday_J »