javascript - show path in console (windows cmd) whithout tilde -
i can log path of directory of node.js server windows console
here server.js:
var http = require('http'); http.createserver(function (req, res) { res.writehead(200, {'content-type': 'text/plain'}); res.end(" hi there ! " ); }).listen(1337, '127.0.0.1'); console.log('server running @ http://127.0.0.1:1337/'); var message = __dirname; console.log(message); // ??? the console logs :
c:\dokume~1\ateam\lokale~1\anwend~1 i'd console show whole path without tilde
like:
c:\dokumente und einstellungen\ateam\lokale einstellungen\anwendungsdaten how can accomplish that?
Comments
Post a Comment