Source Code Pascal Mendapatkan Path


Dibawah ini adalah source code pascal untuk mendapatkan path yg aktif.

{—copy here—}

{Sample code for the GetEnvVar function.}

uses WinCrt, WinDOS;

var
EnvironmentVar: PChar;

begin
GetMem(EnvironmentVar, 255);
EnvironmentVar := GetEnvVar(‘path’);
Writeln(‘The PATH is currently: ‘);
Writeln(EnvironmentVar);
end .

Iklan

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s