I have Parent file DEL_FOLDER.BAT which call Del_archive.bat file .
Batch file Del_archive.bat contain a question for user to delete or not the archive file like
SET /P Option=Do you really want to delete all previous month Backup folders (Y/N)=: -^>
IF NOT '%Option%'=='' SET Option='%Option%'
if %Option%=='Y' goto :menu1
if %Option%=='y' goto :menu1
if %Option%=='N' goto :menu2
if %Option%=='n' goto :menu2
echo "%Option%" is not valid choice then try again......
but when I tried to ran DEL_FOLDER.BAT parent file then the question from child file doesn't appear on screen.
code for DEL_FOLDER.BAT
CALL Del_archive >%LOG_FIL%
What is missing in the code?