Answer the question
In order to leave comments, you need to log in
How to make unix-style in cmd?
I am writing a cmd customization program:
@echo off
set uhome=%HOMEPATH:\=/%
set ucwd=%cd:\=/%
CALL SET ucwd=%%ucwd:%uhome%=~%%
set ucwd=%ucwd:~2%
prompt=%USERNAME%@%USERDOMAIN%:%ucwd% $$
TITLE Cmd
color F
cmd /k
[email protected]:~Рабочий стол $
cd test
User@machine:~Рабочий стол $
[email protected]:~Рабочий стол $
cd test
User@machine:~Рабочий стол/test $
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question