anyone plz suggest
a folder is created its name with a variable.
how to delete that folder using that variable
example:
sat_%date% is a folder name
how to remove folder
Moderator: DosItHelp
Re: how to remove folder
Hi santhosh,
if you know the content it should be easy
But it will fail if your date has a format like "10/08/2010", the "/" is not allowed as (directory-)name.
if you know the content it should be easy
Code: Select all
mkdir sat_%date%
... do some stuff here
rmdir sat_%date%
But it will fail if your date has a format like "10/08/2010", the "/" is not allowed as (directory-)name.