Jump to content
Sign in to follow this  
Evil_Has_Survived

Sending A Script

Recommended Posts

I was wondering if I send a script that has the admin's name, for example

OPENFILE("C:\Documents and Settings\Bill Gates\Desktop\mytext")

well see since im bill gates (pretend :mellow::)) and my computer is under the admins name that goes by the name of bill gates,

and Im sending it to a friends computer whos admin name goes by

C:\Documents and Settings\Tom Gets\Desktop\mytext

so since his name is Tom Gets it won't understand what to open since my scripts telling it to open a text file called mytext from C:\Documents and Settings\Bill Gates\Desktop\mytext

or is the script smart enuff to figure that out

Share this post


Link to post
Share on other sites

Helpfile:

@DesktopDir

check it out


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

example

FileOpen(@desktopdir & "\mytext.txt", 0)

you must include the file extension as well

and now depending on what you want to do with it your going to have to change the 0 to what ever

0 = Read mode

1 = Write mode (append to end of file)

2 = Write mode (erase previous contents)

4 = Read raw mode

8 = Create directory structure if it doesn't exist (See Remarks).

Share this post


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
Sign in to follow this  

×
×
  • Create New...