This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
multiple_20file_20operations [2018/04/17 17:47] tbest3112 Added syntax highlighting |
multiple_20file_20operations [2020/11/24 12:59] (current) richardrussell Replace !^string$ with PTR(string$) |
||
---|---|---|---|
Line 29: | Line 29: | ||
shfo.hWnd% = @hwnd% | shfo.hWnd% = @hwnd% | ||
shfo.wFunc% = FO_DELETE | shfo.wFunc% = FO_DELETE | ||
- | shfo.pFrom% = !^afsp$ | + | shfo.pFrom% = PTR(afsp$) |
SYS "SHFileOperation", shfo{} | SYS "SHFileOperation", shfo{} | ||
ENDPROC | ENDPROC | ||
Line 55: | Line 55: | ||
shfo.hWnd% = @hwnd% | shfo.hWnd% = @hwnd% | ||
shfo.wFunc% = FO_COPY | shfo.wFunc% = FO_COPY | ||
- | shfo.pFrom% = !^from$ | + | shfo.pFrom% = PTR(from$) |
- | shfo.pTo% = !^dest$ | + | shfo.pTo% = PTR(dest$) |
SYS "SHFileOperation", shfo{} | SYS "SHFileOperation", shfo{} | ||
ENDPROC | ENDPROC | ||
Line 77: | Line 77: | ||
shfo.hWnd% = @hwnd% | shfo.hWnd% = @hwnd% | ||
shfo.wFunc% = FO_MOVE | shfo.wFunc% = FO_MOVE | ||
- | shfo.pFrom% = !^from$ | + | shfo.pFrom% = PTR(from$) |
- | shfo.pTo% = !^dest$ | + | shfo.pTo% = PTR(dest$) |
SYS "SHFileOperation", shfo{} | SYS "SHFileOperation", shfo{} | ||
ENDPROC | ENDPROC |