Page 1 of 1

Running Update Generator 'generates TEMP'error

PostPosted: 05.04.2014, 13:40
by FeikoClock
When starting Update Generator version 9.1 I get the following error:

The %TEMP% path contains a trailing backslash ('\')

All Environment Variables for TEMP and TMP (in this case Win7) point to a temp directory on F: > F:\TEMP

Does anyone know a solution?

Re: Running Update Generator 'generates TEMP'error

PostPosted: 05.04.2014, 15:29
by aker
Please run a cmd and enter this command:
Code: Select all
set

Please post the result in this topic.

Re: Running Update Generator 'generates TEMP'error

PostPosted: 05.04.2014, 16:58
by FeikoClock
TEMP=F:\TIJDEL~1 >>> Under Windows F:\TIJDELIJK
TMP=F:\TIJDEL~1 >>> Under Windows F:\TIJDELIJK

Re: Running Update Generator 'generates TEMP'error

PostPosted: 05.04.2014, 17:43
by aker
Please use a temp path, where the lenght of the last folder name is shorter than / equal to 8 characters.
Code: Select all
F:\temp

Then try it again.

I think, that it is caused by the "~" in the shortened name of the last folder (the path ends with "~1").

Re: Running Update Generator 'generates TEMP'error

PostPosted: 05.04.2014, 17:52
by boco
Old ballast from MS-DOS. :x

Re: Running Update Generator 'generates TEMP'error

PostPosted: 06.04.2014, 20:29
by FeikoClock
aker wrote:Please use a temp path, where the lenght of the last folder name is shorter than / equal to 8 characters.
Code: Select all
F:\temp

Then try it again.

I think, that it is caused by the "~" in the shortened name of the last folder (the path ends with "~1").


I think the tilde had nothing to do with it, it's only what the CMD windows shows. Why CMD shows some paths complete and cuts my TEMP foldername is one of Microsoft's most hidden secrets.

Changing TIJDELIJK foldername back to TEMP works.
I though I could get rid of the DOS era about 20 years ago.

Thank you very much for the solution.

Re: Running Update Generator 'generates TEMP'error

PostPosted: 06.04.2014, 21:04
by boco
It's called the 'NameNumericTail'. However, I don't have the slightest idea why the command shell used the short name. Battled with that guy since Windows 95... seems the fight's not over, yet. :evil: