do anyone know how to insert the text string from another file ex. ref.txt?
for example,
ref.txt
-----------content--------------
"c:\reports\source\"
----------end content-----------
copy.bat
------------code start-----------
@echo off
CD " ref.txt " <- get the upper 'text string' from ref.txt & insert it here!!
copy *.doc "d:\destination\"
-----------code end-------------
so that whenever i change the location of the source in ref.txt,
the copy.bat still works as my new location!!
thanks !!
