(zettel (meta (back "00001004050000 00001012080500 00001018000000") (backward "00001004050000 00001012080500 00001018000000") (box-number "1") (created "20210126175322") (forward "00001003000000 00001004010000 00001004051000") (modified "20250627161010") (published "20250627161010") (role "manual") (syntax "zmk") (tags "#command #configuration #manual #zettelstore") (title "The ''run-simple'' sub-command")) (rights 4) (encoding "") (content "=== ``zettelstore run-simple``\nThis sub-command is implicitly called when a user starts Zettelstore by double-clicking its GUI icon.\nIt is a simplified variant of the [[''run'' sub-command|00001004051000]].\n\nFirst, this sub-command checks if it can read a [[Zettelstore startup configuration|00001004010000]] file by trying the [[default values|00001004051000#c]].\nIf this is the case, ''run-simple'' just continues as the [[''run'' sub-command|00001004051000]], but ignores any command line options (including ''-d DIR'').[^This allows a [[curious user|00001003000000]] to become an intermediate user.]\n\nIf no startup configuration is found, the sub-command only allows specifying a zettel directory.\nThe directory will be created automatically if it does not exist.\nThis differs from the ''run'' sub-command, where the directory must already exist.\nUnlike the ''run'' sub-command, no other command-line parameters are allowed.\n\n```\nzettelstore run-simple [-d DIR]\n```\n\n; [!d|''-d DIR'']\n: Specifies ''DIR'' as the directory that contains all zettel.\n\n Default is ''./zettel'' (''.\\\\zettel'' on Windows), where ''.'' denotes the \"\"current directory\"\"."))