[gs-bugs] [Bug 691440] Windows bat files use relative paths and write to non-temp dir

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jul 27 19:41:42 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691440

--- Comment #6 from SaGS <sags5495 at hotmail.com> 2010-07-27 19:41:41 UTC ---
Created an attachment (id=6565)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6565)
Suggested patch: use a Win9X-compatible construct instead of ‘%~dp0’

Follow-up #1 to rev 11498: replace the use of ‘%~dp0’, available only on 
NT-based Windows, with ‘%0\..’ which is compatible with all Windows 
versions. A special test is also done to detect the situation when the bat 
was found by searching the %PATH%, in which case no path is specified for 
subordinate bat files to allow the command interpreter to look for them 
on the %PATH% as it did for the master bat.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list