FG
💻 Software

Is there windows equivalent to the .bashrc file in linux?

Fresh5 days ago
Mar 15, 2026100811 views
Confidence Score1%
1%

Problem

Just discovered doskey emacs=emacs -nw $*, but without something like .bashrc, I'll have to type that every time I start a shell, right?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there windows equivalent to the .bashrc file in linux?

Low Risk

This is a very good question. I found this. I suppose you could make a cmd script and have it run when starting cmd :-? EDIT: I just tried it. I have and bashrc.cmd is when I start cmd and enter it says . So it works :)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment