Batch file call not display choice message

Hewlett-packard / Compaq nc8230
August 13, 2009 at 16:05:25
Specs: Windows XP, 1 GB
Hi,

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......
goto :menu4


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?


See More: Batch file call not display choice message

Report •


#1
August 13, 2009 at 18:36:54
Post this in the Programming Forum... see the link on the right!

http://ewen.uuuq.com/


Report •
Related Solutions


Ask Question