| command > file 2>&1 | Write both standard output and standard error of command to file (OS/2 and NT) |
|---|
Showing posts with label dos. Show all posts
Showing posts with label dos. Show all posts
Thursday, February 14, 2013
dos command: redirection / pipe
http://www.robvanderwoude.com/redirection.php
Friday, February 08, 2013
dos2unix
http://ubuntuforums.org/showthread.php?t=1540180
sudo apt-get install tofrodos
$ fromdos YOUR_FILE
Saturday, October 20, 2012
DOS symbolic link
http://en.wikipedia.org/wiki/NTFS_symbolic_link
>mklink /?
Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link
refers to.
[Note]
Current Working Directory
%cd%
>mklink /?
Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link
refers to.
[Note]
Current Working Directory
%cd%
Wednesday, August 10, 2011
Tuesday, November 25, 2008
DOS TSR
在DOS 系統下,由於只能單工作業,造成了種種限制。如果想要有多工能力,可以透過TSR(Terminate and Stay Resident) 達成,也就是常駐在記憶體中。像是doskey 這隻程式就是一個例子。TSR 可以掛在一個interrupt 上,等到interrupt 觸發時,就可以執行想做的事。TSR 是利用 dos int 31h system call 來達成。
Subscribe to:
Posts (Atom)