Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing the 1st letter of the 1st parameter
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01290085
Message ID:
01290086
Views:
15
This message has been marked as the solution to the initial question of the thread.
/A is reserved VFP command-line switch. See http://berezniker.com/content/pages/visual-foxpro/how-pass-parameters-vfp-exe for details.
Removing '/' should fix the problem
ImsBackup.exe AutoStart AutoClose
>I need to pass two parameters to my application using this format from DOS prompt:
>
>
>ImsBackup.exe /AutoStart /AutoClose
>
>I'm using this in my main app:
>
>
>PARAMETER l_Param1,l_Param2,l_Param3,l_Param4,l_Param5,l_Param6
>
>ACTIVATE SCREEN _Screen
>=MESSAGEBOX(l_Param1 + l_Param2)
>
>
>The messagebox with show
>
>
>AutoStart /AutoClose
>
>
>But I’m losing the 1st letter of the 1st parameter. What could be causing this?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform