local mawdrive,mawdirectory,mawpath,mcopysubmit,mawdirtochange >mawdrive = "" >mawdirectory = "" >mawpath = "" >mfiletorun = "" >mawdirtochange = "" > >use programlocation && Table contains information about file and directory locations >go top > >mawdrive = programlocation.anywaredrv >mawdirectory = programlocation.anywaredrc >mawpath = alltrim(mawdrive)+":\"+alltrim(mawdirectory)+"\MCIBTELE.BAT type sdf" >mfiletorun = alltrim(mawdrive)+":\"+alltrim(mawdirectory)+"\MCIBTELE.BAT" >mawdirtochange = "cd \"+alltrim(mawdirectory) > >use > >use PCanywhere exclusive >zap >go top >append blank >replace connectaw with "@echo off" >append blank >replace connectaw with "cd\" >append blank >replace connectaw with mawdirtochange >append blank >replace connectaw with 'awremote -M=D -N="MCIB"' > >go top > >copy to &mawpath > >use > >run &mfiletorun>
c:\AW\MCIBTELE.BAT>