home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / install / reqtools / rexxreqtools / examples / ttxarexx.lha / SetWorkingDir.ttx < prev   
Text File  |  1993-10-21  |  298b  |  14 lines

  1. /* SetWorkingDir.ttx 1.0 (20.02.93)
  2.  *
  3.  * Change the current working dir
  4.  */
  5.  
  6. OPTIONS RESULTS
  7.  
  8. GetCurrentDir
  9. NewCD = rtFileRequest( RESULT,, "Select new current dir", "_Select", "RTFI_Flags=FREQF_NoFiles RT_PubScrName=TURBOTEXT" )
  10.  
  11. IF rtResult = 1 THEN 'SetCurrentDir' NewCD
  12.  
  13. CALL rtFreeFileBuffer
  14.