-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathini-set.bat
72 lines (58 loc) · 1.69 KB
/
ini-set.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: To start automatically, edit registory as below.
: reg add "HKLM\SOFTWARE\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d c:\wk_uem\cmd2csh\ini-set.bat /f
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo "immutating Un*x"
echo off
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: BASIC SET
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: imitate unix
doskey ls= dir /b $*
doskey l= dir $*
doskey s= dir /b $*
doskey ll= attrib
doskey lll= dir /OD
: with confirm
doskey rm= del /P $*
doskey cp= copy /-Y $*
doskey mv= move /-Y $*
: without confirm
doskey \rm= del $*
doskey \cp= copy $*
doskey \mv= move $*
doskey rmb= del *~
doskey pwd= cd
doskey cat= type $*
doskey h= doskey /history
doskey history= doskey /history
doskey diff= fc $*
doskey alias= doskey /macros
doskey grep= find $*
: cd upward
doskey u= cd ..
doskey uu= cd ..\..
doskey uuu= cd ..\..\..
doskey uuuu= cd ..\..\..\..
: misstype
doskey sl= dir /b $*
doskey ccd= cd $*
doskey sl= dir /b $*
doskey ks= dir /b $*
doskey kls= dir /b $*
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: NOTE: delete these lines below if Error occurs
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: oretoku (specially for Uemmra3)
doskey vi= vim $*
doskey less= vim -R $*
doskey va= vagrant $*
: todo autoload vim(Kaoriya)
: start http://www.kaoriya.net/software/vim/
doskey uem= cd c:\wk_uem
: oretoku misstype
doskey lses= vim -R $*
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: DANGER
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
doskey rm_f= del /S /Q $*