/ZivLine

An All-in-One Shell/Script Interperter for Microsoft Windows

Primary LanguageCGNU General Public License v3.0GPL-3.0

ZivLine

Welcome TO ZivLine, A Shell And Script Interperter For Microsoft Windows

How To Use

  • To enter the Shell, Just Start The Executable
  • To Use The Interperter, Either go to the commandline and start zivline your-file-name.zls or enter the shell and type run your-file-name.zls (MUST BE IN SAME DIRECTORY AS THE SHELL!!!)

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Zivline Shell/Script Interpreter Documentation

The Documentaion Will Be Here, As I don't think it needs a full new page

ECHO

Prints the provided arguments.

Syntax: echo *args

Example: echo Hello, World! <- Prints "Hello, World!"

VER

Prints the version of Zivline.

Syntax: ver

START

Starts an executable with specified permissions and parameters.

Syntax: start *perm *executable *parameters

Example: start user my_program.exe -d <- Starts my_program.exe with the -d parameter in user mode

start admin my_program.exe -d <- Starts my_program.exe with the -d parameter in admin mode

You Can Also Start A Program using ./

PAUSE

Pauses Zivline.

Syntax: pause

CLR

Clears the screen.

Syntax: clr

CREATE

Creates a new file with the specified filename.

Syntax: create *filename

Example: create my_file.txt

READ

Reads the contents of the specified file.

Syntax: read *filename

Example: read my_file.txt

WRITE

Writes content to the specified file.

Syntax: write *filename *content

Example: write my_file.txt This is some content

ZWRITE

Opens an editor to write into the specified file.

Syntax: zwrite *filename

Example: zwrite my_file.txt

RUN

Runs a Zivline script file.

Syntax: run *filename

Example: run my_script.zln

SYSTEM

Runs through cmd.

Syntax: SYSTEM *command

Example: system dir <- Runs dir from cmd.exe

MOVETO

Moves The Directory To Another Directory.

Syntax: moveto *path

Example: moveto C:\Windows <- Moves To C:\Windows

CD

Prints Current Directory

Syntax: cd

PD

Prints Files In The Directory.

Syntax: pd *path

(if you moved outside the normal directory, you can type "pd" to print that directory)

Example: pd C:\Windows <- Prints All The Files In C:\Windows

COLOR

Changes Font Color

Syntax: color *color

Example: color red <- changes it to red

ALL POSSIBLE COLORS: RED, GREEN, BLUE, GRAY, WHITE, NORMAL

BCOLOR

Changes Background Color

Syntax: bcolor *color

Example: bcolor red <- changes background to red

ALL POSSIBLE COLORS: RED, GREEN, BLUE, GRAY, WHITE, NORMAL

MAKEDIR

Makes A Directory

Syntax: makedir *dir

Example: makedir stuff <- makes a stuff directory

DELDIR

Deletes A Directory

Syntax: deldir *dir

Example: deldir stuff <- deletes the directory

Process

Edits Processes

Syntax: process *type *args

type can be -k to kill a process, -l to list all process, or -g to to get a pid from a process

EXAMPLES:

- `process -k 1719` <- Kills the process with pid 1719

- `process -l` <- Lists All Processes And PIDs

- `process -g Untitled - Notepad` <- Gets the pid of notepad window

DELETE

Deletes The File

Syntax: delete *filename

Example: delete test.txt <- Deletes test.txt

COPY

Copys The File to another file

Syntax: copy *filename1 *filename2

Example: copy test.txt anothertest.txt <- Copy test.txt anothertest.txt

REG

Edits The Windows Registry

Syntax: reg *dowhat *hkey *regpath ^valuename (only for -w) ^datatype (only for -w) ^action (opt) (only for -w)

dowhat path can be -c to create a reg, -d to delete, and -w to write

hkey can be HKCR, HKCU, HKLM, HKU, or HKCC

path is the path to the registry key


EXTRA -w ARGS:

valuename is the name of the value you're writing into

datatype is the data type (duh), it can be dword, sz, and expand_sz.

Examples for -c: reg -c HKLM system\myapp <- Creates system\myapp registry key

for -d: reg -d HKLM system\myapp <- Deletes system\myapp registry key

for -w: reg -w HKLM system idk dword 12 <- Writes a value in system named idk which is a dword and the value written is 12

STARTSHELL

starts the shell

Syntax: startshell

POWEROFF

powers off windows

Syntax: poweroff *type *isImmediate

type can be -r to restart, -s to shutdown, -l to logoff (if isImmediate isn't 1).

isImmediate can be 1 if true, else 0 or empty

EXAMPLES:

- `poweroff -r` <- restarts windows normally


- `poweroff -r 1` <- restarts windows forcefully

sleep

makes zivline wait in milliseconds

Syntax: sleep *milliseconds

EXIT

Exits Zivline.

Syntax: exit

---- Recovery Commands ----

These Are Commands For the Recovery Shell when zivline crashes

  • debugstate: prints the current state of zivline (The Log Has The Past Crash State Written)
  • exit: returns to zivline
  • leave: leaves zivline