Message9573

Author zyasoft
Recipients jeff.allen, santa4nt, saynt, zyasoft
Date 2015-03-03.17:21:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425403318.9.0.0545768510369.issue2120@psf.upfronthosting.co.za>
In-reply-to
Content
Finally looked into how I could get UNC paths without having to configure any network shares. So these are in fact available, eg, \\localhost\C$\ is the same as C:\ - something probably not surprising to actual Windows users, but I just run Windows in a VM to test Jython on it.

More details here, http://stackoverflow.com/a/2790936/423006

So os.listdir(r"\\localhost\C$") works, but not os.mkdir(r"\\localhost\C$\foobaz"). Looks like the solution is to once again use Java NIO2 instead of depending on JNR for such functionality, as I suggested in my previous message (msg9499).
History
Date User Action Args
2015-03-03 17:21:58zyasoftsetmessageid: <1425403318.9.0.0545768510369.issue2120@psf.upfronthosting.co.za>
2015-03-03 17:21:58zyasoftsetrecipients: + zyasoft, jeff.allen, santa4nt, saynt
2015-03-03 17:21:58zyasoftlinkissue2120 messages
2015-03-03 17:21:58zyasoftcreate