Jump to content

File Install Function

Recommended Posts

Hi everyone, I wanted to include some files into my complie script, file install seems to be the perfect choice but it doesn't work when I tried to build it

Here is a simple script:

FileInstall(@DeskTopDir & "\Background Music\BlueSky.mp3",@DeskTopDir & "\BlueSky.mp3")

It works perfectly fine when I just run it from SciTe, but does not allow me to build and says invailded fileinstall function.

What I want is get some files in my script and extract(FileInstall) them to dekstop or any dest. Anyone can help me find a way to get around this?

Thanks for helping


Link to comment
Share on other sites

FileInstall ( "source", "dest" [, flag] )

The source path of the file to compile. This must be a literal string; it cannot be a variable.

FileInstall(@DeskTopDir & "\Background Music\BlueSky.mp3",@DeskTopDir & "\BlueSky.mp3")

FileInstall("C:\Documents and Settings\LogonUser\Desktop\Background Music\BlueSky.mp3",@DeskTopDir & "\BlueSky.mp3") Edited by Danny35d
AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
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...