11 lines
305 B
Factor
11 lines
305 B
Factor
USING: kernel system windows.kernel32 io.windows
|
|
io.windows.files io.ports windows destructors environment
|
|
io.files.unique ;
|
|
IN: io.windows.files.unique
|
|
|
|
M: windows touch-unique-file ( path -- )
|
|
GENERIC_WRITE CREATE_NEW 0 open-file dispose ;
|
|
|
|
M: windows temporary-path ( -- path )
|
|
"TEMP" os-env ;
|