>Hi,
>
>Your method only works when the argument that you pass in containing no '\' character. Otherwise, you will get a syntax error.
>
>example: myapp.exe "c:\temp\test" will give you syntax error. Sorry about the first message.
>Thanks.
Sorry, that works just fine for me, with a main program that starts with an LPARAMETERS or PARAMETERS statement. It takes any command line value you like, as long as you remember to properly quote-encapsulte the argument. You may find that your example works if you leave off the quote encapsulation.
There are command line arguments that start with / or - that may get stripped from the command line because the VFP engine uses them.