Information générale
Titre:
Foxuser.dbf & fpt files on desktop.
I have an installation package that installs my application on the clients pc. The installation package (ASTRUM) at the end of its installation calls a foxpro program at the end of the installer process. On one 2000 machine (SP2)foxuser files are being created on the desktop even though I have a resource = off in the apps config.fpw file.
On another 2000 machine (SP4) they are NOT created, as well as two other XP machines. Same code different results.
I have tried to delete the foxuser.dbf & fpt but to no avail.
oWsh = CREATEOBJECT("wscript.shell")
cDeskPath = oWsh.SpecialFolders("desktop")
lcFilename = cDeskPath+"\"+"foxuser.dbf"
IF FILE(lcfilename)
ERASE &lcfilename
ENDIF
lcFilename2 = cDeskPath+"\"+"test.txt"
IF FILE(lcfilename2)
DELETE FILE lcfilename2
ENDIF
I have two issues.... why are they being created and two why can't I delete them. I have tried with and without the ampersand. No go.
Anyone have any ideas?
Thanks in advance,
Wayne
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement