Jump to content

strangeness in fileinstall


Recommended Posts

i have 2 file, a.exe and b.exe, that file are in c:\ and i want to insert them in my script and put them in the tempdir,

the code should be:

FileInstall("c:\a.exe", @tempdir)
FileInstall("c:\b.exe", @tempdir)

but it doesn't work!!! and the script continues without giving errors....

if I prove:

FileInstall("c:\a.exe", "c:\windows\temp\")
FileInstall("c:\b.exe", "c:\windows\temp\")

everything works.

also i prove:

$tempdir = @tempdir
FileInstall("c:\a.exe", $tempdir)
FileInstall("c:\b.exe", $tempdir)

then the problem not is the macro, (on the guide it uses the example of a variable, not of a macro).

can you help me?

thanks in advance

you always excuse my English

Edited by lightdemon
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...