create cursor myCommands (commstr c(128)) insert into myCommands values ('c:') insert into myCommands values ('cd \fpd26') insert into myCommands values ('dir') insert into myCommands values ('foxprox') copy to mybatch.bat type delimited StrToFile(chrtran(FileToStr('mybatch.bat'),'"',''),'mybatch.bat') run 'mybatch.bat'Cetin