forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Urgently need "DELETE" command

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Jerry'Co
Valued Newbie


Joined: 16 Jul 2003
Posts: 33

PostPosted: Tue Jun 10, 2014 7:34 am    Post subject: Urgently need "DELETE" command Reply with quote

Hi guys, this old snippet of my code doesn't work now on my present Win 8.1 Sad
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 Smile
Back to top
View user's profile Send private message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Tue Jun 10, 2014 4:25 pm    Post subject: Reply with quote

Hiya!

Try

Code:

file delete,@windir(Local AppData)\JerryCo\a1.txt,confirm
Back to top
View user's profile Send private message AIM Address
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Jun 10, 2014 4:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jerry'Co
Valued Newbie


Joined: 16 Jul 2003
Posts: 33

PostPosted: Tue Jun 10, 2014 5:38 pm    Post subject: Reply with quote

cnodnarb wrote:
Hiya!

Try

Code:

file delete,@windir(Local AppData)\JerryCo\a1.txt,confirm


Hi cnodnarb,

you are the man ! Very Happy Yesterday I was very tired and today most likely totally blind Shocked Laughing !!! I did a copy from old files and then I "readjust" it - really carefully, apparently Embarassed

Thanks by both guys !

Regards,
Jerry
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group