Archive: Wierd #2


Wierd #2
I have this..


Rename "$1" "$2"


But it doesn't do a thing.

$1 is set to C:\jeffx
$2 is set to C:\quake2

However, thats what they are set to visually, but it doesn't do anything.
C:\jeffx stays as C:\jeffx

If I do a proper rename of Rename "C:\jeffx" "C:\quake2" it works fine.

Bug???

-Stuart

Hmm ok, well it seems because it is reading INI files from within the directory, it won't let me rename it.

Kind of silly, so I'll have to have the INI files back in the $TEMP\map-compiler_settings directory again.

Edit:
It seems that when I run the program, the directory seems to deny access. I can't rename it manually.

-Stuart


Woohoo I fixed it on my own :p

I had an extra program in there that was extracted from within my MUI map-compiler_System.nsh. This kept the program directory read only.
I moved the extraction code out of map-compiler_System.nsh into my own code files.

-Stuart


You go Afrow :up: ...