(under construction)
www.easydos.com - Helpful info on DOS commands.
www.computerhope.com/msdos.htm - Helpful info on DOS commands.
If you set the property to full screen you can get back to a DOS window with "Ctrl-Enter". To see the DOS window properties right click on the DOS windows title bar and choose "properties".
Topic | Notes |
Install Errors | If you get the error
below when you are installing a program follow the solution: "Error: config.nt. The system file is not suitable for running MS-DOS and Microsoft Windows applications" Solution:
|
Environment | Environment from DOS prompt
Environment from Batch files.
|
command.com | Command.com
|
Command Prompt | Command prompt
|
Help on DOS commands | Help on DOS Commands
|
Creating a text file | Creating text files
(logs, etc...)
|
DOS Scheduler | AT - the dos command. See my other web page: Windows-Auto Services DOS Task Scheduler, etc... |
Accessing other Computer | Accessing other
Computers
|
DOS Batch & Parms | Passing parms to a
batch file: The example below shows how you can pass a parameter to a batch file and then access it. Step #1: mydos_batchfile_parms_called.bat - create this file with the following content: echo off echo Parms passed: %1 %2 %3 echo Parm 0: %0 echo Parm 1: %1 echo Parm 2: %2 echo Parm 3: %3 echo on Step #3 Run the batch file: mydos_batchfile_parms.bat Results to the DOS Screen: Parms passed: ParmEx1 ParmEx2 "ParmEx3 Multiple Words" Parm 0: mydos_batchfile_parms_called.bat Parm 1: ParmEx1 Parm 2: ParmEx2 Parm 3: "ParmEx3 Multiple Words" |
Custom Logs & theEvent Viewer | Custom Logs & the
Event Viewer
|
Launch IE from a Batch File | Example Batch File -
this one also creates a log file. set strLogFile=MyTextFileA_batchfile_run_asp_via_ie.log echo ************************************ >> %strLogFile% echo Start: %date% %time% >> %strLogFile% "C:\Program Files\Internet Explorer\IExplore.exe" http://www.google.com echo Stop: %date% %time% >> %strLogFile% |
Creating a Log File of when a batch file runs. | Log Files Create from
a Batch file. rem: Warning: If run from a Windows Scheduled
Task you must provide full path for filenames or CD to the path
as seen below! |
net use | net use & net use
/DELETE Examples:
|
net share | net share net share <sharename>="<drive>:\<pathname>"
|
net user | net user net user <userid> <pswd> |
WinZip Command line | I think you need a
purchased copy (not the free one)call "C:\Program Files\WinZip\WZZIP.EXE" -rp "<pathfilename>.zip" "<pathfilename zip these>\*.*" /q
|