Jump to content
Sign in to follow this  
lightdemon

strangeness in fileinstall

Recommended Posts

lightdemon

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

Share this post


Link to post
Share on other sites
lightdemon

thanks!!!!!!!!!

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  

×