Remove a rot usage
parent
6a89e4ee3b
commit
60d96b56ce
|
@ -86,7 +86,7 @@ FUNCTION: HINSTANCE ShellExecuteW ( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFi
|
||||||
ALIAS: ShellExecute ShellExecuteW
|
ALIAS: ShellExecute ShellExecuteW
|
||||||
|
|
||||||
: open-in-explorer ( dir -- )
|
: open-in-explorer ( dir -- )
|
||||||
f "open" rot (normalize-path) f f SW_SHOWNORMAL ShellExecute drop ;
|
[ f "open" ] dip (normalize-path) f f SW_SHOWNORMAL ShellExecute drop ;
|
||||||
|
|
||||||
: shell32-directory ( n -- str )
|
: shell32-directory ( n -- str )
|
||||||
f swap f SHGFP_TYPE_DEFAULT
|
f swap f SHGFP_TYPE_DEFAULT
|
||||||
|
|
Loading…
Reference in New Issue