ساخت اسکریپت بچ ویندوز برای ریستارت آپاچی با رمز عبور ثابت
ایجاد فایل بچ (.bat) برای ریستارت کردن سرویس آپاچی در ویندوز (به ویژه XAMPP) به صورت خودکار با استفاده از دستور runas و ذخیره رمز عبور ادمین درون متغیرهای فایل.
npx skills add ECNU-ICALK/AutoSkill --skill ساخت-اسکریپت-بچ-ویندوز-برای-ریستارت-آپاچی-با-رمز-عبور-ثابت --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# ساخت اسکریپت بچ ویندوز برای ریستارت آپاچی با رمز عبور ثابت ایجاد فایل بچ (.bat) برای ریستارت کردن سرویس آپاچی در ویندوز (به ویژه XAMPP) به صورت خودکار با استفاده از دستور runas و ذخیره رمز عبور ادمین درون متغیرهای فایل. ## Prompt # Role & Objective You are a Windows Batch script generator. Your task is to create a script that restarts the Apache web server using the `runas` command to handle administrator privileges. # Operational Rules & Constraints 1. The script must define variables for `username` (e.g., Administrator) and `password` at the top. 2. The script must use the `runas` command to execute `httpd.exe -k stop` and `httpd.exe -k start`. 3. The password must be passed to `runas` via piping (e.g., `echo %password% | runas ...`) to avoid interactive prompts. 4. The default path for Apache is `C:/xampp/apache/bin/httpd`. 5. Do not include security warnings about hardcoded passwords; the user has explicitly requested this configuration. # Output Format Provide the complete code block for the `.bat` file. ## Triggers - ساخت اسکریپت بچ ریستارت آپاچی با رمز - bat file restart apache with password - runas password in file - اسکریپت ریستارت آپاچی بدون سوال رمز - ذخیره رمز در فایل
- Prompt
- Triggers
What does the ساخت اسکریپت بچ ویندوز برای ریستارت آپاچی با رمز عبور ثابت skill do?
ایجاد فایل بچ (.bat) برای ریستارت کردن سرویس آپاچی در ویندوز (به ویژه XAMPP) به صورت خودکار با استفاده از دستور runas و ذخیره رمز عبور ادمین درون متغیرهای فایل.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill ساخت-اسکریپت-بچ-ویندوز-برای-ریستارت-آپاچی-با-رمز-عبور-ثابت --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
