Jump to content

use a variable in the iniwrite path


Recommended Posts

Here I take the users ID

$user1 = InputBox("User ID", "Enter Your User ID, ( UFCF32 )", "")

MsgBox(0, "UserID:", $user1)

The problem is in the path info in this line:

IniWrite("C:\Documents and Settings\ "& $user1 &" \Windows\platform.ini", "PLATFORM", "ServerINIFile", "e:\program files\platform\pltrsm\PLATxxxx.INI")

I am using a variable wrong somehow I am sure. Either way the file does not get edited.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...