Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: sandeep singh
  Where is sandeep singh?
 ludhiana
 India
 sandeep singh
 Tags
Subject: Winrar Backup
Thread ID: 393671 Message ID: 393671 # Views: 55 # Ratings: 0
Version: Visual FoxPro 9 Category: VFP and .NET
Date: Saturday, December 21, 2013 9:30:50 AM         
   


Hi Expert
i am used Backup file for my Data with Winrar with this code

lwindrive = lcprogdir+"\winrar\winrar.exe"
FullPath("") && Gets current default
lbackupfile=SYS(2003)+'\Backup\'+'Monday'+'\'+ALLTRIM(JustStem(JustPath(FullPath("")))+'.zip')
lbackupdir =SYS(2003)+'\'
Run /N &lwindrive a -p123 &lbackupfile &lbackupdir

and Sucessfully Create zip file in Location

But When Extract zip file
zip file extract with same path
SYS(2003)+'\Backup\'+'Monday'+'\'+ALLTRIM(JustStem(JustPath(FullPath("")))+'.zip')

how can remove all path for backup file
i want to only one folder for backupname (Monday) when extract



Sandeep Singh (Ludhiana)

ENTIRE THREAD

Winrar Backup Posted by sandeep singh @ 12/21/2013 9:30:50 AM