Revision [20082]

This is an old revision of KeyPgChdir made by DkLwikki on 2016-02-10 15:55:27.

 

CHDIR


Changes the current drive and directory

Syntax:
Usage:
result = Chdir( path )

Parameters:
path
A string argument specifying the path to change to.

Return Value:
Returns zero (0) on success and negative one (-1) on failure.

Description:
Changes the current drive and directory to that specified.

Examples:
Dim pathname As String = "x:\folder"
Dim result As Integer = ChDir(pathname)

If 0 <> result Then Print "error changing current directory to " & pathname & "."


Platform Differences:
Differences from QB:
See also:
Back to Operating System Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode