I'm on a new PC (with XP) now and did a fresh install of VEDIT 6.15.1.
Unfortunately {Misc, More macros, COMPDIR} sometimes fails now.
The reason seems to be a problem in VEDIT's Sys() command.
On my old PC I didn't have that problem because I had the environment variable TEMP set to C:\TMP.
On the new one it is TEMP=C:\DOCUME~1\ZIEMSK~1\LOCALS~1\Temp.
The relevant setting in VEDIT is: Config( F_TEMP_DIR, "Temp file directory", 5 )
And so some pathes within macros are much longer too. E.g. in COMPDIR.VDM...
I stripped down the problem to the following test cases:
Reg_Set(15, ^dir "c:\vedit\macros" /one > "c:\tmp\testddddddddddddd111111111111111111111111111112.txt"^)
Sys('"|@(15)"',DOS+MAX)
===> is o.k.
Reg_Set(15, ^dir "c:\vedit\macros" /one > "c:\tmp\testddddddddddddd1111111111111111111111111111112.txt"^)
Sys('"|@(15)"',DOS+MAX)
===> no file is created
Reg_Set(15, ^dir "c:\vedit\macros" /one > "c:\tmp\testddddddddddddd11111111111111111111111111111112.txt"^)
Sys('"|@(15)"',DOS+MAX)
===> no file is created
Reg_Set(15, ^dir "c:\vedit\macros" /one > "c:\tmp\testddddddddddddd111111111111111111111111111111112.txt"^)
Sys('"|@(15)"',DOS+MAX)
===> Error message in the DOS box: "Program too big to fit in memory"
===> no file is created
As far as I can tell the reason for the failure is not the length of
the filename but the length of the string passed to/by Sys().
Christian
|
|