Re: [python] win7 junction point
Ahoj, a jde to vypsat, kdyz dostanes ten puvodni adresar pres os.path.expandvars? --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1] 2014-06-09 12:25 GMT+02:00 g...@post.cz: Je možné nějak v pythonu dostat výpis složky (os.listdir), případně kopírování do a ze složky, přes Junction Point, tedy něco jako hard link na adresář? Konkrétně mi jde o defaultní link Dokumenty, který odkazuje na Documents v %USERPROFILE%. Zatím jsem zjistil, že ani ve win cmd nefunguje dir Dokumenty. Když však ručně udělám nějaký hardlink přes mklink /J něco1 něco2, tak mi dir něco1 funguje Díky moc ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz
Re: [python] win7 junction point
Documents ani Dokumenty nejsou v systémových proměnných, tedy expandvars nehrozí... starenka . napsal(a), dne 9.6.2014 12:40: Ahoj, a jde to vypsat, kdyz dostanes ten puvodni adresar pres os.path.expandvars? --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1] 2014-06-09 12:25 GMT+02:00 g...@post.cz: Je možné nějak v pythonu dostat výpis složky (os.listdir), případně kopírování do a ze složky, přes Junction Point, tedy něco jako hard link na adresář? Konkrétně mi jde o defaultní link Dokumenty, který odkazuje na Documents v %USERPROFILE%. Zatím jsem zjistil, že ani ve win cmd nefunguje dir Dokumenty. Když však ručně udělám nějaký hardlink přes mklink /J něco1 něco2, tak mi dir něco1 funguje Díky moc ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz
Re: [python] win7 junction point
Jesli je to jen pro win, tak se koukni na win32com. Jednou sem to pres to delal, ale jesli je to dobre, nebo tak, to ti nepovim (win nemam) ;) --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1] 2014-06-09 13:41 GMT+02:00 g...@post.cz: Documents ani Dokumenty nejsou v systémových proměnných, tedy expandvars nehrozí... starenka . napsal(a), dne 9.6.2014 12:40: Ahoj, a jde to vypsat, kdyz dostanes ten puvodni adresar pres os.path.expandvars? --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1] 2014-06-09 12:25 GMT+02:00 g...@post.cz: Je možné nějak v pythonu dostat výpis složky (os.listdir), případně kopírování do a ze složky, přes Junction Point, tedy něco jako hard link na adresář? Konkrétně mi jde o defaultní link Dokumenty, který odkazuje na Documents v %USERPROFILE%. Zatím jsem zjistil, že ani ve win cmd nefunguje dir Dokumenty. Když však ručně udělám nějaký hardlink přes mklink /J něco1 něco2, tak mi dir něco1 funguje Díky moc ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz ___ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz