DOS

bulletPUT THEM IN ORDER

Do you want to view files by date order?  If so type in;
dir /o:d
and the last file modified will be at the bottom of your screen

 

bulletHIDE YOUR FILES

There are two very effective ways - and this becomes even better when the two ways are used together.

First get to the root of your drive by typing "cd\".
Next make a directory to save all of your files in "mkdir mydir".

If you do a "dir" here, you will see the directory you created. Put files you wish to protect inside this directory.
For the first trick....
From the root ("cd\"), type "attrib +h mydir".
Ok, do a dir - notice your directory is no longer there. But you can still copy files to it, or even "cd\mydir" into your directory.
You have just hidden your directory from dos, windows, and any prying eyes.

The Second Trick.....
Instead of making your directory only named mydir, why not add a special hidden character??
Here's the idea, use the command "mkdir mydir" but before pushing the return after mydir, hold down the ALT key and press 255 ON THE NUMBER PAD (It will only work from the number pad).

Notice the cursor has moved one space to the right. Press return, then do a dir.
In the directory listing, you see mydir listed, however if you do a cd\mydir it tells you that the directory cannot be found.

Now try "cd\mydir" and before pushing return, again hold down ALT and press 255, then press return. You are now in your directory.

Basically what has just happened is that you put a special null character at the end of your directory name. You can also put smiley faces or any other ASCII characters in the name using the same trick - see your local ASCII chart for character numbers.

Use these in conjunction because windows can sometimes see into directories with special characters, but it takes a little more work to see into hidden directories with special characters

 

bulletDELETE THAT TREE

To delete a DOS directory and ALL underlying sub-directories and files type DELTREE DirectoryName then press the ENTER key. You'll be prompted for a confirmation of your deletion. Use this command very carefully!

 

bulletIS IT DOS OR WINDOWS?

Even the best of us sometimes forget that we're running DOS from the MSDOS Windows prompt and we try to type WIN to restart windows. To cure this problem, open the Autoexec.bat file from within Notepad and add this comment below your regular prompt=$p$g line:
Set WINPMT=You are in Windows!$P$G

 

bulletDOS MODEM COMMANDS

ECHO ATDT > COMx where x is the number of the serial port your modem is connected to. You should hear a dial tone or some other sound to signify that the modem received this command and is working fine.

Use ECHO ATHO > COMx to turn the dial tone off. This is an excellent test tool if you are having problems with your modem in Windows and want to determine if it is a hardware or a software (windows configuration) problem.

 

bulletDIR COMMANDS

dir , = displays all including hidden files
dir . = same as typing *.*
copy . = same as as typing copy *.*
    Marcelo

 

bulletADD A PATH

Create a batch file call it addpath.bat
type following in editor
path=%path%;%1 (takes first global variable)

The typew addpath (then type in full path of directory you would like to add)   Marcelo

 

Cable Modems Debugging DOS Easter Eggs Exchange Server Hardware IIS 4 Mac OS Microsoft Links Microsoft Office Nerd Words Novell Web Design Windows 3.x Windows 95 Windows98 Windows NT Wiring Submit a Tip!

Hit Counter