1
Coding Snacks / Re: REQUEST: Program that deletes all files/subdirectories in a directory...
« on: November 07, 2007, 11:34 PM »
Dont know where the problem is...
Just create StartHidden.vbs and put in the following 2 lines:
Set WindowsShell = WScript.CreateObject( "WScript.Shell" )
WindowsShell.Run "c:\Hiddenstart\deleteTask.bat",0,True
In deleteTask.bat u can remove folders with:
RD C:\temp /Q /S
or using the mentioned DelAge32 programm from Horst Scheaffers.
U may add logs with:
echo Task started %date% %time% >>logfile.log
then put the vbs in taskmanager. the batch will be started
without window.
Alex
Just create StartHidden.vbs and put in the following 2 lines:
Set WindowsShell = WScript.CreateObject( "WScript.Shell" )
WindowsShell.Run "c:\Hiddenstart\deleteTask.bat",0,True
In deleteTask.bat u can remove folders with:
RD C:\temp /Q /S
or using the mentioned DelAge32 programm from Horst Scheaffers.
U may add logs with:
echo Task started %date% %time% >>logfile.log
then put the vbs in taskmanager. the batch will be started
without window.
Alex