View previous topic :: View next topic |
Author |
Message |
Jerry'Co Valued Newbie
Joined: 16 Jul 2003 Posts: 33
|
Posted: Tue Jun 10, 2014 7:34 am Post subject: Urgently need "DELETE" command |
|
|
Hi guys, this old snippet of my code doesn't work now on my present Win 8.1
Code: |
.
.
file delete,@windir(Local AppData)\JerryCo\a1.txt),confirm
if @not(@ok())
info Error blablabla
end
.
.
|
I can save (create) files in the directory, read files from there and re-write them, but I can't delete them. Any solution ? Thanks |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Tue Jun 10, 2014 4:25 pm Post subject: |
|
|
Hiya!
Try
Code: |
file delete,@windir(Local AppData)\JerryCo\a1.txt,confirm
|
|
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Jun 10, 2014 4:26 pm Post subject: |
|
|
Have you tried giving your program Admin Rights when you run it?
~Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
Jerry'Co Valued Newbie
Joined: 16 Jul 2003 Posts: 33
|
Posted: Tue Jun 10, 2014 5:38 pm Post subject: |
|
|
cnodnarb wrote: | Hiya!
Try
Code: |
file delete,@windir(Local AppData)\JerryCo\a1.txt,confirm
|
|
Hi cnodnarb,
you are the man ! Yesterday I was very tired and today most likely totally blind !!! I did a copy from old files and then I "readjust" it - really carefully, apparently
Thanks by both guys !
Regards,
Jerry |
|
Back to top |
|
|
|