![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
DELDIR
You can change the environment variable <DELDIR in OS/2 sessions to change
the <UNDELETE behaviour for a special session.
Examples:
REM *** OS/2 Batch file to change the DELDIR directory for one session
SET DELDIR=C:\DELDIR1,512;D:\DELDIR_C,512;
REM *** OS/2 Batch to disable DELDIR, delete some files and enable
REM DELDIR again
SETLOCAL
SET DELDIR=
DEL D:\TEMP\*.*
ENDLOCAL
REM *** OS/2 Batch to change the DELDIR directory, delete some files
REM and restore the DELDIR directory afterwards
SETLOCAL
SET DELDIR=D:\MY_DELDIR,512
DEL D:\TEMP\*.*
ENDLOCAL
Note: This method is also possible in DOS sessions.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs