Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Start parameters in Windows Shortcuts
Message
From
12/11/2002 03:39:50
 
 
To
12/11/2002 03:30:54
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00721348
Message ID:
00721439
Views:
8
>Hi Ed:
>
>>They're specified as a part of the target command line.
>
>When I add the -C into the target box (in shortcut, properties) eg., "C:\Program Files\AFP3\afp3.exe -C", when I try to save it, windows comes up with an error saying the name specified is not valid and to check the file and path name.
>
>On this occasion, I want to stop the .EXE from reading any config.fpw whatsoever. Any thoughts?

First, you'd need to specify the command line as:

"C:\Program Files\AFP3\afp3.exe" -C

IOW, leave the -C out; it's not a part of the .EXE file name.

The easiest way to make sure that no CONFIG.FPW gets used is to embed a CONFIG.FPW file right in the .EXE; it'll get used automatically that way. I would consider putting in a minimal one at least, with RESOURCE=OFF if you don't use the FOXUSER file, to avoid leaving Fox droppings whereever the app happens to get started, with or without a shortcut...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform