home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Complet / FreeDOS / fdbootcd.iso / FREEDOS / DOCS / CMDHELP.TXT next >
Text File  |  2004-01-31  |  12KB  |  348 lines

  1. This document is public domain.
  2. No information should be added that is not public domain.
  3. Kenneth J Davis <jeremyd@computer.org> 2002, 2003, 2004
  4.  
  5. [] optional argument (repeated 0 or 1)
  6. {} optional argumnet (repeated 0 or more times)
  7. a|b either option a or option b should be used
  8. <file> represents [drive:][path][filename]
  9. For Windows 2000 & later users, a folder is equivalent to a directory.
  10. FD: indicates FreeDOS specific extensions or ommissions
  11.  
  12.  123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
  13. ----------------------------------------------------------------------------
  14. command name
  15. command syntax, one or more lines for each unique usage if needed for clarification
  16. FD: any FreeDOS specific notes
  17.  
  18. command description/overview
  19. internal/external, filename
  20. minimal DOS version required
  21.  
  22. command options and explanations
  23.  
  24. Examples:
  25. example usage
  26. example's explanation
  27. additional examples
  28.  
  29. additional notes or details if needed
  30. ----------------------------------------------------------------------------
  31.  
  32. ansi [nansi]
  33. assign
  34. attrib
  35. backup
  36. break (I)
  37. call (I)
  38. chcp (I)
  39. chdir/cd (I)
  40. chkdsk
  41. choice
  42. cls (I)
  43. command.com [FreeCom]
  44. comp
  45. copy (I)
  46. country [???]
  47. ctty
  48. date (I)
  49. debug
  50. defrag
  51. deltree
  52. dir (I)
  53. diskcomp
  54. diskcopy
  55. display
  56. echo (I)
  57. edit
  58. edlin
  59. emm386
  60. erase/del (I)
  61. exe2bin
  62. exit (I)
  63. fasthelp
  64. fc
  65. fdisk
  66. find
  67. for (I)
  68. format
  69. goto (I)
  70. graftabl
  71. graphics
  72. himem [fdxms/fdxms286]
  73. help [htmlhelp]
  74. if (I)
  75. join [swsubst, see also subst]
  76. keyb [keyb/mkeyb/xkeyb]
  77. label
  78. lfnfor (Win32)
  79. loadhigh/lh
  80. lock (Win32)
  81. mem
  82. mirror
  83. mkdir/md (I)
  84. mode
  85. more
  86. move
  87. mscdex [fdcdex/shsucdex]
  88. nlsfunc
  89. path (I)
  90. pause (I)
  91. print
  92. prompt (I)
  93. ramdisk [tdisk/bitdisk]
  94. replace
  95. restore
  96. rem/:: (I)
  97. rename/ren (I)
  98. rmdir/rd (I)
  99. scandisk
  100. set (I)
  101. share
  102. shift (I)
  103. sort
  104. subst [swsubst, see also join]
  105. sys
  106. time (I)
  107. tree
  108. truename (I)
  109. type (I)
  110. undelete
  111. unlock (Win32)
  112. ver (I)
  113. verify (I)
  114. vol (I)
  115. xcopy
  116.  
  117.  
  118. ----------------------------------------------------------------------------
  119. ansi [nansi]
  120.  
  121. Adds ANSI terminal emulation support to the CONsole device.  See nansi.doc for more details, including ANSI escape codes.
  122.  
  123. external ansi.sys
  124. external, nansi.sys
  125. requires DOS 2.0+
  126.  
  127. ansi
  128. DEVICE=[drive:][path]ANSI.SYS [/X] [/K] [/R]
  129.  
  130. /X remaps extended keys independently on extended (101/102 key) keyboards
  131. /K treat extended keyboard as 84 key keyboard
  132. /R adjust line scrolling to improve readability with screen reading programs
  133.  
  134. nansi
  135. DEVICE=[drive:][path]NANSI.SYS [/X] [/K] [/S] {/Tnn}
  136.  
  137. /X remaps extended keys independently on extended (101/102 key) keyboards, that is, allow remapping of physically distinct (or at least generates a unique extended scancode) but otherwise logically same key (e.g. home on numeric pad versus separate [gray] home key)
  138. /K force use of extended keyboard, specifically force use of extended keyboard BIOS interface that allows detection of F11/F12 and other extended (in comparison to 84 key keyboards) keys
  139. /S secure mode, disables keyboard redefinitions
  140. /Tnn indicates that mode nn (00-FF hex) of your video card is a text mode
  141.  
  142. FD: nansi.sys is the ANSI console driver included with FreeDOS
  143.  
  144. ----------------------------------------------------------------------------
  145. assign
  146. command syntax, one or more lines for each unique usage if needed for clarification
  147. FD: any FreeDOS specific notes
  148.  
  149. command description/overview
  150. internal/external, filename
  151. minimal DOS version required
  152.  
  153. command options and explanations
  154.  
  155. Examples:
  156. example usage
  157. example's explanation
  158. additional examples
  159.  
  160. additional notes or details if needed
  161. ----------------------------------------------------------------------------
  162. attrib
  163. attrib [/s] [-R | +R] [-A | +A] [-S | +S] [-H | +H] <file>
  164. attrib /?
  165. FD: none
  166.  
  167. Modifies or displays attributes of given file or directory.  If no option is given then displays attributes of all files and directories in the current directory, otherwise attempts to change attributes of specified file[s] to those given.
  168. external, attrib.exe
  169.  
  170. /s additionally apply options to all files in every subdirectory
  171. - remove (clear) specified attribute
  172. + add (set) specified attribute
  173. R readonly, normal operations are unable to write or delete file
  174. A archive, indicates file was changed since last backup or other operation that cleared archive attribute (i.e. needs archving)
  175. S system, indicates this is a system file or other file that should not be physically moved/alterred, normal operations are unable to write or delete file and may not list file
  176. H hidden, indicates file or directory should not be shown in normal directory listing
  177.  
  178. Examples:
  179. attrib -a +s +r command.com
  180. Removes the archive, adds the system & readonly attributes to the file command.com.
  181. attrib /S -a *.*
  182. Removes the archive attribute from all files in the current directory and files in all subdirectories.
  183. attrib
  184. Displays the attributes of all files in the current directory.
  185. ----------------------------------------------------------------------------
  186. backup
  187. ----------------------------------------------------------------------------
  188. break (I)
  189. ----------------------------------------------------------------------------
  190. call (I)
  191. ----------------------------------------------------------------------------
  192. chcp (I)
  193. ----------------------------------------------------------------------------
  194. chdir/cd (I)
  195. ----------------------------------------------------------------------------
  196. chkdsk
  197. ----------------------------------------------------------------------------
  198. choice
  199. ----------------------------------------------------------------------------
  200. cls (I)
  201. ----------------------------------------------------------------------------
  202. command.com [FreeCom]
  203. ----------------------------------------------------------------------------
  204. comp
  205. ----------------------------------------------------------------------------
  206. copy (I)
  207. ----------------------------------------------------------------------------
  208. country [???]
  209. ----------------------------------------------------------------------------
  210. ctty
  211. ----------------------------------------------------------------------------
  212. date (I)
  213. ----------------------------------------------------------------------------
  214. debug
  215. ----------------------------------------------------------------------------
  216. defrag
  217. ----------------------------------------------------------------------------
  218. deltree
  219. ----------------------------------------------------------------------------
  220. dir (I)
  221. ----------------------------------------------------------------------------
  222. diskcomp
  223. ----------------------------------------------------------------------------
  224. diskcopy
  225. ----------------------------------------------------------------------------
  226. display
  227. ----------------------------------------------------------------------------
  228. echo (I)
  229. ----------------------------------------------------------------------------
  230. edit
  231. ----------------------------------------------------------------------------
  232. edlin
  233. ----------------------------------------------------------------------------
  234. emm386
  235. ----------------------------------------------------------------------------
  236. erase/del (I)
  237. ----------------------------------------------------------------------------
  238. exe2bin
  239. ----------------------------------------------------------------------------
  240. exit (I)
  241. ----------------------------------------------------------------------------
  242. fasthelp
  243. ----------------------------------------------------------------------------
  244. fc
  245. ----------------------------------------------------------------------------
  246. fdisk
  247. ----------------------------------------------------------------------------
  248. find
  249. ----------------------------------------------------------------------------
  250. for (I)
  251. ----------------------------------------------------------------------------
  252. format
  253. ----------------------------------------------------------------------------
  254. goto (I)
  255. ----------------------------------------------------------------------------
  256. graftabl
  257. ----------------------------------------------------------------------------
  258. graphics
  259. ----------------------------------------------------------------------------
  260. himem [fdxms/fdxms286]
  261. ----------------------------------------------------------------------------
  262. help [htmlhelp]
  263. ----------------------------------------------------------------------------
  264. if (I)
  265. ----------------------------------------------------------------------------
  266. join [swsubst, see also subst]
  267. ----------------------------------------------------------------------------
  268. keyb [keyb/mkeyb/xkeyb]
  269. ----------------------------------------------------------------------------
  270. label
  271. ----------------------------------------------------------------------------
  272. lfnfor (Win32)
  273. ----------------------------------------------------------------------------
  274. loadhigh/lh
  275. ----------------------------------------------------------------------------
  276. lock (Win32)
  277. ----------------------------------------------------------------------------
  278. mem
  279. ----------------------------------------------------------------------------
  280. mirror
  281. ----------------------------------------------------------------------------
  282. mkdir/md (I)
  283. ----------------------------------------------------------------------------
  284. mode
  285. ----------------------------------------------------------------------------
  286. more
  287. ----------------------------------------------------------------------------
  288. move
  289. ----------------------------------------------------------------------------
  290. mscdex [fdcdex/shsucdex]
  291. ----------------------------------------------------------------------------
  292. nlsfunc
  293. ----------------------------------------------------------------------------
  294. path (I)
  295. ----------------------------------------------------------------------------
  296. pause (I)
  297. ----------------------------------------------------------------------------
  298. print
  299. ----------------------------------------------------------------------------
  300. prompt (I)
  301. ----------------------------------------------------------------------------
  302. ramdisk [tdisk/bitdisk]
  303. ----------------------------------------------------------------------------
  304. replace
  305. ----------------------------------------------------------------------------
  306. restore
  307. ----------------------------------------------------------------------------
  308. rem/:: (I)
  309. ----------------------------------------------------------------------------
  310. rename/ren (I)
  311. ----------------------------------------------------------------------------
  312. rmdir/rd (I)
  313. ----------------------------------------------------------------------------
  314. scandisk
  315. ----------------------------------------------------------------------------
  316. set (I)
  317. ----------------------------------------------------------------------------
  318. share
  319. ----------------------------------------------------------------------------
  320. shift (I)
  321. ----------------------------------------------------------------------------
  322. sort
  323. ----------------------------------------------------------------------------
  324. subst [swsubst, see also join]
  325. ----------------------------------------------------------------------------
  326. sys
  327. ----------------------------------------------------------------------------
  328. time (I)
  329. ----------------------------------------------------------------------------
  330. tree
  331. ----------------------------------------------------------------------------
  332. truename (I)
  333. ----------------------------------------------------------------------------
  334. type (I)
  335. ----------------------------------------------------------------------------
  336. undelete
  337. ----------------------------------------------------------------------------
  338. unlock (Win32)
  339. ----------------------------------------------------------------------------
  340. ver (I)
  341. ----------------------------------------------------------------------------
  342. verify (I)
  343. ----------------------------------------------------------------------------
  344. vol (I)
  345. ----------------------------------------------------------------------------
  346. xcopy
  347. ----------------------------------------------------------------------------
  348.