Closing Drawing Without Saving From Within A Script

Hi,

We have some inhouse software that produces a script to batch prints drawings that has been running on Autocad for the past 15 years.

I have modified the script to work with DraftSight but my problem is that I can't find a way of closing the drawings within the script without getting the Save prompt.

I have see some suggestions to use QSAVE before CLOSE but I don't want to save the changes.

Does anybody know the solution to this problem?

Thanks,

Tony Walker