I have created a dos script which deletes files in "g:/documents and settings/ravi kiran/recent" where my OS installed in g: drive. when i run the script it is promting for Y/N. so I have given input from a file "kiran.txt" using input redirector.But it is not working. the code is below.
cd "g:\Documents and settings\ravi kiran\recent"
del /f * < kiran.txt
the file kiran.txt contains character 'y'
the code is running but it i not deleting files.
can anyone help me please........