>>>>>>Hello,
>>>>>>
>>>>>>I'm trying to use a config file to change the default value of the system variable _ASCIICOLS in a shipping .exe file.
>>>>>>I created a file with this in it:
>>>>>>_ASCIICOLS = 200
>>>>>>
>>>>>>I invoke the app like this:
>>>>>> myapp.exe
-cmyconfigfile.txt>>
>>>Complete SWAG - and I doubt it would help, but try to change the extension of the config file to fpw.
>>
>>In general case you'd be right, but the command line has the proper switch to override that - and then the filename and extension can be anything.
>
>
>I'm missing something more fundamental -
>
>I've renamed the config file to config.fpw, and put a _STARTUP = "myfile.prg" statement in it.
>I've tried COMMAND = DO "myfile.prg" instead.
>I've tried including the the config file in my project as well as invoking it via a -c command line option when I start my app.
>The result still looks as if none of the statements I've tried in it are being executed.
>With filemon, I see my config file being accessed, but don't see myfile.prg being accessed.
>
>?
I believe it should be just
COMMAND = "myPrgFile.Prg"
Though according to
http://msdn.microsoft.com/en-us/library/377x0zxd(VS.80).aspx it should be as you tried
Command = Do myFile.prg
If it's not broken, fix it until it is.
My Blog