View Full Version : Rename file *.lic in toto.lic
31st March 2006, 12:46
Rename file *.lic in toto.lic doesn't work in $INSTDIR.
Is there a solution or no?
31st March 2006, 12:48
Can you provide more details? What's the command you've used? Where does it work, if not in $INSTDIR?
3rd April 2006, 09:28
I have used this command :
Rename "$INSTDIR\*.lic" "$INSTDIR\$toto.lic"
But it doesn't run because file in '*.lic' is not found on $INSTDIR.
Is there another helpful method?
3rd April 2006, 14:43
Logically that instruction is flawed. You want it to rename any files with a .lic file extension to a single file called $toto.lic...
You need to specify the actual path for the file to rename.
If you don't know what it is called, use FindFirst ... "$INSTDIR\*.lic", FindNext and FindClose.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.