Skip to content

NemGame/windows-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows commands

!DISCLAIMER! Some source codes may include swearing (lst does), proceed with caution

My windows commands

If a .exe doesn't work, recompile it, I used gcc for some, but that needs some dlls, I'll recompile and update them later

All were tested on Windows 10

Contents
args cmdat. cmdat csl docs docs_
dup edit explorer. hf hidefolder lst
newfile npm_ rcmd remove remove_ rename
rm run sf showfolder sizeof vscode

args <args>

Just prints out the args given to it, used for debugging

cmdat.

Runs the cmdat command with the current directory

cmdat <dir>

Opens a new command prompt in the given directory

csl

Utility, misstyped cls

docs

Navigates to the user's documents folder, fast

docs_

Navigates to the user's documents folder, slow

dup <filename / foldername>

Duplicates the given item

edit <filename>

Opens the given file in notepad

explorer.

Opens the file explorer in the current directory

hf <path>

Shorthand for hidefolder

hidefolder <path>

Hides the given element, so that even the file explorer can't see it

You can access it, by writing the path in the search bar

Can be reversed with sf and showfolder

lst <?dir>

Lists the files, folders and unkown things in the given directory, or where it was ran

newfile <filename> <?content>

Creates a new file with the given name

Unless you specify any content it's gonna be empty

npm_ <?args>

Shorthand for npm.cmd (by NodeJS) for easier powershell use (mostly for vscode)

rcmd

Opens a new command prompt in the same directory and closes itself

remove <path>

Removes the path, be it a file or a folder, no discrimination here

remove_ <file>

Rememberable del

rename <path>

Rememberable ren

rm <file>

Rememberable del

run <command>

Runs the given command in a new command prompt

After execution, it waits for the Enter to be pressed and only that

sf <path>

Shorthand for showfolder

showfolder <path>

Reveals the path that hf and hidefolder hid

sizeof <path>

Returns the size of the file or folder with the given path

Supported sizes: bytes, kilobytes, megabytes, gigabytes, terrabytes, petabytes, exabytes, zettabytes, yottabytes

If you need more, create an issue and I'll add larger sizes to it

vscode <?args>

Just calls code <args> (by Visual Studio Code)

It runs as expected when written in the file explorer search bar, unlike code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published