Allow Command Line INI Files For Multple Users On The Same PC

Allow Command Line INI Files For Multple Users On The Same PC

To allow different INI files for different users on the same machine,use the command line to specify the specific INI file path and file name.Add a check to see if the INI file exists, and if it doesn’t, create it.A different icon specifying a different INI file on the command line canbe set up for each user:

 Sub Form_Click ()Dim achIniFile As StringDim Msg As String	If Command = "" Then ' If no command line.achIniFile = App.Path & "DEFAULT.INI"	' There is currently no command-line string."Msg = "The INI file used is: '" & Command$ & "'"	Else ' Put command line into message.achIniFile = App.Path & "" & Command$ 	Msg = "The INI file used is: '" & Command$ & "'"	End If	MsgBox Msg ' Display message.End Sub
See also  11 Effective Keyword Research Tools and Techniques

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist