![]() |
![]() |
CorelScriptTools.GetCurrFolder
Function GetCurrFolder() As String
Member of CorelScriptTools
The GetCurrFolder method returns the name of the active Windows folder and path.
The GetCurrFolder method returns a string variable that is passed the name of the active Windows folder and path.
In the following code example, the first line sets the active folder. The second line assigns the active folder to a string variable. The third line assigns a file name to a string variable. In the last line a string variable is assigned a value which is made by combining the folder and file string variables.
SETCURRFOLDER "c:\corel\graphics8\scripts\" folder$ = GETCURRFOLDER ( ) MyFile$ = "\MyScript.csc" MyPathFile = folder$ & MyFile&
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.