Jump to content

fileinstall() needing trailing backslash...


 Share

Recommended Posts

Hello, I program usually every few months some program installation packages and I use fileinstall function. I do something like this

fileinstall("setup.exe","c:\temp")

and I am surprised when the file is not there even when the folder exists. Of course if I checked the help I would see, that I need to add a trailing backslash like this: c:\temp\, but can't this be changed? I sometimes just forget this and have problems:) I don't post this into Bug Reports and Feature Requests because they would probably tell me I should read the helpfile...

Link to comment
Share on other sites

I think, the \ shows the difference between file or directory.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

I just think this would save nerves of many autoit users and not just me...but I realize it is not that important although it would be a logical behavior - if there is a folder with this name, assume the file should be put there.

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
 Share

  • Recently Browsing   0 members

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