xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_CmdArgArgV()

Returns the first command line argument (EXE file name).

Syntax

HB_CmdArgArgV() --> cExeFile

Return

The function returns the first command line argument as a character string.

Description

Function HB_CmdArgArgV() queries the command line and returns the first argument. It is the name of the EXE file as entered by the user. Note that the file name may not include the ".exe" extension or directory information.

Info

See also:ExeName(), HB_ArgC(), HB_ArgCheck(), HB_ArgV(), PCount(), PValue()
Category: Debug functions , Environment functions , xHarbour extensions
Source:vm\cmdarg.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe