Fixed GPF in PDIR

#1
This is the batch file I was executing:

@echo off
setlocal
do dir in /a:d \ACCOUNTS \ACCOUNTS.OLD \BTM \DEV \ESF\WINGAMES \LOC \PICTURES \UTIL
pushd %dir
*pdir/nej/ou/s/a:-d/(z 8r @inode["*"] [email protected]["*"] dy-m-d th:m:s a @right[-3,*])
popd
enddo

I ran this batch program with output redirected to a file in a directory other than those searched. It completed successfully on my laptop. However, on the desktop, after recording the last file in the \PICTURES directory TCC died with the following GPF:

TCC 13.01.34
Module=F:\JPSOFT\IZ\TakeCmd.dll
Address=1007D59B
Exception=C0000005
EAX=558AFCCC EBX=7FCA0008 ECX=02010008 EDX=55EEFCB8
ESI=0201F138 EDI=01514FB0 EBP=01524FE0 ESP=014F4F64
CS=0000001B DS=00000023 ES=00000023 SS=00000023
Flags=00010206

Stack:
1 : TakeCmd.dll 00000001:0007c59b
2 : TakeCmd.dll 00000001:0001ae86
3 : TakeCmd.dll 00000001:000187ae