func_file_changedir.rst 531 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .. _func_file_changedir:
  2. =========
  3. ChangeDir
  4. =========
  5. ChangeDir -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. ChangeDir( path$ )
  10. Change current directory
  11. Parameters
  12. ==========
  13. Return Values
  14. =============
  15. True if successful
  16. Examples
  17. ========
  18. .. code-block:: blitzmax
  19. ' changedir.bmx
  20. print "CurrentDir()="+currentdir()
  21. ' change current folder to the parent folder
  22. changedir ".."
  23. ' print new CurrentDir()
  24. print "CurrentDir()="+currentdir()
  25. See Also
  26. ========