guys, I am having problems on how can I use the default folder so I can use it on those codes. It happens that the MIS I am developing will be used in different computers. the path which is C:\sapmis should be in default value because that will occur an error if the MIS is in another path.
I...
The fbzip turned great but I encountered some coding problems.
instruction = "fbzip -a -p -r "e:\VisualFoxproProjects\sapmis\DTOS(DATE()).zip" "c:\sapmis\data\""
it appears that I can't put quotation marks inside the quotation marks. Like the one before e:\
I tried to separate the string of...
Yes, this code is using the pkunzip command. I'm trying to create a backup in another computer where C:\grunder\sapmis does not exists. Here's my code for my pkzip
private instruction
instruction = "pkzip -a c:\GRUNDER\sapmis\"+SUBSTR(DTOS(DATE()),3,6)+".zip data\sapmis.* data\*.dbf...
boomerangboi (IS/IT--Management) May 7, 2008
Oh, thanks for the reply. I already figured it out myself. My problem NOW is, Let's say, the process of making the batch file for unzipping the zip file created will be saved in "C:\GRUNDER\sapmis\" and the batch filename is "exing.bat". What should...
Another question: When I open the backup.bat file using the dos command, it is making zip file as C:\DOCUMENTS.zip
How can I change the pathname of the zip file??? I tried it on another computer and the zip file now saved in the folder where my executable file of the program is.
Thanks a lot for the help. I really appreciate all of it... I can now create zip file and unzip it. My mistake is that I have many copies of the files/folders of my program :).
Once again, thanks to Griff, Nif and olas...
The first time I run it is a big mistake because I didn't place the .bat file to the programs folder.
Second time, I tried to run it manually using the dos command but it is just updating and deflating. I tested to change or delete dbf files but it didn't do anything.
Sorry for being a...
Thanks for the help guys.
Hello Griff
I tried your the code you gave me. It made a file backup.bat but when I tried to open it, there is a DOS window that blinks once and then it is gone. I tried to use .zip and it made a corrupt zip file.
I'm having problems on how to make back up files in my desired path using VISUAL foxpro. My code is this:
PROCEDURE BackUp
bdrive = "C:\bak\"+SUBSTR(DTOS(DATE()),3,6)+".zip"
WAIT "Back-uping Database and tables..." WINDOW NOWAIT NOCLEAR
*! wzzip &bdrive data\sapmis_dbf.dbc data\*.dbf
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.