I am new to batch programming and need some expert help. Here is what I would like to do:
1. I put any type of some files in one folder
2. Now I want to create a batch file in such a way that as I run the batch files it should copy all the files in that folder should copy in the specified different different folders
I kept both specific file & batch file in one folder & the program of batch file is as below:Copy D:\uday\AWEMAN32.DLL c:\windows
3. But the problem is as I change the location of the directory “uday” the batch file does not work.So please help

:: If you want to specify the source directory: @echo off & setLocal EnableDelayedExpansion
set /p src=src ?
copy d:\!src!\AWEMAN32.DLL c:\windows
=====================================
If at first you don't succeed, you're about average.M2
go to my utube www.youtube.com/robjohnb95 and look at my 5 batch tutorials
p.s i know do C++ with visual basic
</b> Edit: thanks judago QUOTE: I kept both specific file & batch file in one folder & the program of batch file is as below:
Copy D:\uday\AWEMAN32.DLL c:\windowsCopy "%~dp0AWEMAN32.DLL" c:\windows
or better yet
Copy AWEMAN32.DLL c:\windows
bold </b>
I just couldn't help myself. It may be a good idea to close html tags when you use them....
