Penv
Run any programs in portable mode in Windows.
Install / Use
/learn @Charon2050/PenvREADME
penv
English | 简体中文
Run any programs in portable mode in Windows.
Install (Optional)
run install-penv.bat, it will add penv to environment variables.
Usage
penvto enter portable environment.penv <commands>to temporarily executes a single command in the penv.penv -u | -use <env name>to use a specific portable environment.penv -h | -helpto show help message.exitto exit portable environment.
Examples
penv C:/path/to/msedge.exe
<br/>Open Microsoft Edge in portable mode.
penv -u alice C:/path/to/firefox.exe
<br/>Open Firefox in portable environment named alice
Environment Variables PATH
You can add Environment Variables PATH in penv/path.txt (global) or penv/env/<env name>/path.txt (only this environment).
Use %cd% as the relative path, where %cd% represents the path of penv.bat. For example, if penv.bat is in D:/penv/penv.bat, then %cd%/Python equ to D:/penv/Python.
Examples
For such a directory:
penv/
├ env/
├ Python/
│ ├ Python.exe
│ └ ...
├ JAVA/
│ ├ bin/
│ │ ├ java.exe
│ └ ...
├ penv.bat
└ path.txt
You can edit path.txt like this:
%cd%/python
%cd%/JAVA/bin
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
