Keyword: DOCURUN - Run from Documents

Keywords are used within scripts that enabled powerful features such as dynamic variables, clipboard manipulation, read/write files, mimic inputs and more.
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Keyword: DOCURUN - Run from Documents

Unread post by YiMeng »

Description
  • Copy specified file and paste to, to run from User Documents folder.
Parameters
  • x: allow skip (skip/noskip)
    • This specifies if the execution is blocking.
      • Depend on the default program set for the target file extention, this behavior may not be consistent.
    • Valid values are skip/noskip, or set "1" for allow skip and "0" for no skip.
  • z: specified full path to file.
    • This can be a local path or UNC path to a file or program/script.
    • Pre-pend "@" prevent execution.
Usage
  • DOCURUN x z
  • ex. DOCURUN 0 c:\mydoc.txt
    • Copy c:\mydoc.txt to Documents folder then run mydoc.txt from Documents folder.