quote:
Also in your bat, you are setting $ZKey=%1 but I don't see where you are passing %1.

It's in the 3rd line of OutlookSettings.kix;
$zkey = ReadProfileString(@LDrive + "\test.ini","mailid","%username%")


Bleonard:
- it's on NT4.0 wks, the permission share is read and the NTFS I've changed to change from read.
- oops, it wasn't a typo. But I just give a go again with only %comspec% /c but no go either.
- I guess it's not necessary, cause when I doubleclicked on it it will do the job.

_________________________
We should learn from the past... therefor nowadays we students know already the answers before the exam will be given...