Jump to content

append@username at end of file


Recommended Posts

this is what happens when I ues this script...

filewriteline("c:\adx\adx.ini",@username)

filewriteline("c:\adx\adx.ini","\")

UserDir=W:\adx\users\paa7010

\

If you write 2 lines you get 2 lines.

Use:

filewriteline("c:\adx\adx.ini",@username&"\")

HTH, Reinhard

Link to post
Share on other sites

If you write 2 lines you get 2 lines.

Use:

filewriteline("c:\adx\adx.ini",@username&"\")

HTH, Reinhard

I noticed you're editing an ini file. Are there section names in the ini? If so...

IniWrite('c:\adx\adx.ini', "SectionName", "UserDir", @Username & '\')

Ben

Link to post
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...