Change directoryTag(s): Powerscript

[FUNCTION DECLARATIONS]
FUNCTION boolean SetCurrentDirectoryA(ref string lpsdir) &
   LIBRARY "kernel32.dll"

[powerscript]
String ls_Directory

ls_Directory = "C:\MyNewDirectory\"

lb_Return = SetCurrentDirectoryA(ls_Directory)
If you're using the PFC, look at of_ChangeDirectory in pfc_n_cst_filesrv.


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]