Originally Posted By: Gargoyle
Ok, try it this way instead..
Code:
If Not Exist($File)
  $Software = QS(Split(GetSoftwareInfo(),@CRLF))
  ImportToXLS($Software,$File)
  Copy $file "\\fileprintserver\groep\systeembeheer\software overzicht"
EndIf


You had the If Exist Exit - not in a function but in your main script, so you said if the file is there, then exit and so it did.

You just have to follow the logic of what you are telling it to do.


Doesnt work also

It stops after the in not exist line.
_________________________
A mistake is Human, But to make it a real mess you need a computer.