Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

How to force 'write file?

 [1/2] from: cyphre::seznam::cz at: 14-Feb-2002 15:20


Hello again, I have another another filesystem-related problem: How can I force 'write command to overwrite system and/or hidden files under Windows XP?
>> set-modes %/d/test [hidden: true] >> write %/d/test "test"
** Access Error: Cannot open /d/test ** Near: write %/d/test "test"
>>
or:
>> set-modes %/d/test/test [system: true] >> write %/d/test/test "test"
** Access Error: Cannot open /d/test/test ** Near: write %/d/test/test "test"
>>
any thoughts? regards, Cyphre

 [2/2] from: greggirwin:mindspring at: 14-Feb-2002 12:02


Hi Cyphre, << How can I force 'write command to overwrite system and/or hidden files under Windows XP? >> I don't know how to make WRITE do it, but you could turn those attributes off temporarily, write to the file, then turn them back on. Does anyone know what the /custom refinements support? --Gregg