An interesting conundrum

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

An interesting conundrum

Post by Glenn Boyce »

I have just done an update on my application which I have located on a shared drive at work. 3 people have access to it and I had put a shortcut to their desk tops. All has wroked well but I find that I can't delete the old version! Would this have something to do with the desk top links? As I will be refining the application over time I really dont want to have a pile of old versions on the drive that I can't remove. Any suggestions?
kind regards

Glenn Boyce
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: An interesting conundrum

Post by Mark »

Hi Glenn,

What do you mean, "can't delete"? You look at your screen and can't find the delete key? It is on your keyboard! :-)
More seriously, you'll need to provide a little more information before anyone can say anything meaningful about it. Error messages? Strange behaviour? Other problems?

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Re: An interesting conundrum

Post by Glenn Boyce »

Gee. That was quick. I get a dialogue box headed up Cannot delete "XXXXXXX" : Access is denied
the body of the dialogue box says:
make sure the disc is not full or write protected and that the file is not currently being used.

I have deleted the shortcuts from all our disk tops and the applications (I actually have two old ones) are not being used
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: An interesting conundrum

Post by Mark »

Hi Glenn,

It is possible that the file is shared. As long as it is available to clients on the network, it can't be deleted. This doesn't always happen to all shared files, but I know it can occur. Unshare the file and you might be able to delete it.

Another possibility is that the files have been opened but not properly closed by a remote application. The only way to get rid of the files is to force-delete them. On Mac OS X you'd sudo the rm command from the terminal and Windows you need to execute the del /f command from the command line. The /f option ignores any read-only options.

Let me know if this works.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Re: An interesting conundrum

Post by Glenn Boyce »

Thanks Mark
Unfortunately I'm not familiar with the cmd screen and functions although I know how to start it up. If the file directory is S:\RAPFAST\FFF Rapfast1, then what would the syntax be to get rid of it?
cheers

Glenn
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Re: An interesting conundrum

Post by Glenn Boyce »

Hi Mark
Looked up commands oon the net. Can see the folders using DIR but can't delete them . Says it cannot find them. can't see whats in the folder either using DIR.
Post Reply