Archive: How to use File command if filename is in a variable?(Say $0)


How to use File command if filename is in a variable?(Say $0)
Hi,
How to use File command if filename is in a variable?(Say $0).
That is my file name is in variable $0.
If i use the command like
File $0, it is telling no files found.
How can i use this File command if the file name is contained in a variable?
Bye,
N.Muthukkumaran


You can't use variables with the File command, because it cannot include files to the installer files block at the run time (only in compile time).


You can use CopyFiles or Rename instead with variables.

-Stu