Generator Posted March 28, 2007 Posted March 28, 2007 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 Generator
Danny35d Posted March 28, 2007 Posted March 28, 2007 (edited) FileInstall ( "source", "dest" [, flag] ) The source path of the file to compile. This must be a literal string; it cannot be a variable. Quote FileInstall(@DeskTopDir & "\Background Music\BlueSky.mp3",@DeskTopDir & "\BlueSky.mp3")FileInstall("C:\Documents and Settings\LogonUser\Desktop\Background Music\BlueSky.mp3",@DeskTopDir & "\BlueSky.mp3") Edited March 28, 2007 by Danny35d AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now