Jump to content
Sign in to follow this  
LoWang

fileinstall() needing trailing backslash...

Recommended Posts

LoWang

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...

Share this post


Link to post
Share on other sites
jvanegmond

I was going to make a big statement about how and why things are not changing because you think they should, but then I decided it was too much work. So...

Things aren't going to change because you want them to be changed.

End of story.

Share this post


Link to post
Share on other sites
Xenobiologist

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

Share this post


Link to post
Share on other sites
LoWang

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.

Share this post


Link to post
Share on other sites
jvanegmond

Hmm, probably.

It would be nice if we could override native AutoIt functions or something to solve many of these "problems" with the native design. Highly unlikely though.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.