Welcome, Guest. Please login or register.

Author Topic: fixing executables that lost the executable flag  (Read 1737 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline spirantho

Re: fixing executables that lost the executable flag
« on: May 15, 2009, 08:19:33 AM »
Not directly but you can do it with the list command. I can't remember the syntax exactly but :

Code: [Select]

LIST ALL LFORMAT "protect %f +e" >runme
execute runme


You may need a different parameter for the filename in list, but when you find the right one it'll work I think.

Of course it'll also mark all your data files as executable!
--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness!
 

Offline spirantho

Re: fixing executables that lost the executable flag
« Reply #1 on: May 15, 2009, 09:05:35 AM »
I wasn't aware that Protect had an ALL flag but it wouldn't surprise me.

I agree though - all preservation should be done with a proper archive tool, such as LhA or LZX. That's the only sure way to get everything stored properly.
--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness!