set pgpassword=whatever >>set cPath=%path% >>path "C:\Program Files\PostgreSQL\8.0\bin";%path% >>"C:\Program Files\PostgreSQL\8.0\bin\pg_dump.exe" -Z9 -b -v -f "c:\my document\myfile.backup" -F c -h myserver -U postgres mydb >>set pgpassword= >>path %cPath% >>exit>
** lcThere is the directory where I want this to run ** lcZipfile is the name of the zip I want to unzip *-- TEXT BLOCK BEGIN TEXT textmerge noshow to lcBat "<<fullpath("pkzip25")>>" -extr "<<lcZipFile>>" ENDTEXT *-- TEXT BLOCK END lcBatFile=Fullpath(Forcepath(Forceext(Sys(2015),"bat"), lcThere)) Strtofile(lcBat, lcBatFile) oprocess=Newobject('api_apprun','process', '', lcBatFile, lcThere, 'HID') oprocess.LaunchAppAndWait Release oprocess Erase (lcBatFile)