43 lines
878 B
Markdown
43 lines
878 B
Markdown
# mkdir - Create Directory
|
|
|
|
Create a new directory on the target system.
|
|
|
|
## Description
|
|
|
|
The `mkdir` command creates a new directory on the target system. It creates parent directories if they don't exist.
|
|
|
|
## Syntax
|
|
|
|
```
|
|
mkdir <path>
|
|
```
|
|
|
|
## Parameters
|
|
|
|
- `path` (required): Directory path to create. Supports both absolute and relative paths.
|
|
|
|
## Examples
|
|
|
|
```
|
|
mkdir C:\temp\new_folder
|
|
mkdir staging
|
|
mkdir C:\Users\Administrator\Documents\Project
|
|
```
|
|
|
|
## Features
|
|
|
|
- Supports both absolute and relative paths (relative paths are resolved using the current working directory)
|
|
- Creates parent directories if they don't exist
|
|
- Useful for creating staging directories, temporary folders, or organizing files during post-exploitation activities
|
|
|
|
## Output
|
|
|
|
```
|
|
[mkdir] Directory created: C:\temp\new_folder
|
|
```
|
|
|
|
---
|
|
|
|
**Command Category:** File System
|
|
**Requires Admin:** No
|