problems with exec("rundll32.exe shell32.dll...")

Øyvind Harboe oyvind.harboe@zylin.com
Tue May 20 12:44:00 GMT 2003


I just ran into some Runtime.exec() problems as well.
See PR 10880 that I reported. 
There is something funny going on with '\'s.
My kludge was to search & replace a single backslash with two
backslashes in the argument to Runtime.exec().
This kludge takes advantage of that Windows interprets
c:\temp and c:\\temp as the same path in certain cases, so
my code now works with JRE and GCJ.
Øyvind


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /