Deleting files on Vista

Shari shari at gypsyware.com
Fri Jun 29 10:23:11 EDT 2007


I'm trying to troubleshoot a problem for a fellow on Vista.  And he's 
not very forthcoming with info.  Or rather, his description is simply 
wrong when I ask him questions, or he doesn't answer the question 
asked, but provides other non-related info instead.  So I do not 
trust that he has followed my instructions :-)

In Vista, if I can create files to a location, shouldn't I also be 
able to delete them?  Is there any chance that Vista allows creation, 
but not deletion?

The files in question would include text files created with "open 
file... write to file..." and stacks creating using "put... into 
binfile:..."

This fellows description of his problem tells me that files exist.  I 
told him to run the uninstaller built into the game and he claims to 
have done this, but based on his issue the files are still there.

My uninstalIer even includes VirtualStore.

# x tries several locations in a repeat loop
     put specialFolderPath(x) & "/VirtualStore" into dPath
put "/someFile" after dPath
       if there is a file dPath then
         delete file dPath
       end if

He does have Vista.  So.... does Vista allow create and not delete?

And is it possible to delete from VirtualStore?

Shari

-- 
Windows and Macintosh shareware games
BIackjack Gold
http://www.gypsyware.com



More information about the use-livecode mailing list