kutu62
May 20th, 2008, 11:38 PM
how can i remove a file (or rename it or move it) with a javascript?
the file is located /root/Imacros/Macro/file.txt
now since I can't find any info on this with google I assume it can't be done
if it cant be done then can you make the script loop over and over looking for the file to change (last access time) - when the script notices the files last access time has changed the script will then jump to a particular line or execute xyz command. Once xyz command is executed the entire process will start over again.. of course it would be much easier if I could just remove the file or rename it..
many thanks
the file is located /root/Imacros/Macro/file.txt
now since I can't find any info on this with google I assume it can't be done
if it cant be done then can you make the script loop over and over looking for the file to change (last access time) - when the script notices the files last access time has changed the script will then jump to a particular line or execute xyz command. Once xyz command is executed the entire process will start over again.. of course it would be much easier if I could just remove the file or rename it..
many thanks