1.

Solve : user input to dicide a acion in batch?

Answer»

can you get INPUT from the user and itput it into the BATCH file
ex "what file do you want to delete ? "user input here"
deleteing
done"
is that possibalYou didn't mention your OS so I can only guess that this might work.

Code: [Select]
@echo off
set /p file=What file do you want to delete?
DEL %file%
echo Done! Done!! Done!!!


This code basically DUPLICATES the del command.

Good luck.



Discussion

No Comment Found