Passing Parameters to Application in Batch Mode

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Hello!

Is it possible to pass a parameter to an application in batch mode? And how can I do that?
The Syntax Assistant says:
1C:Enterprise 8 Launch and Startup Options - General Command Line Options
there is the following command line option:
/C<Text String> passes the option to the configuration.
If someone knows how to use it? And what kind of parameters I can pass there?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 6, 2011
Company:

Use property of global context - LaunchParameter - to refer "/C" command line option value. You can pass there any string.

 
#3
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

I've got it! Thank you!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.