View Hidden Files Using DOS

Here is what you can do to view hidden files in DOS mode:

At command prompt just type:
dir /ah

If de list is too lon’ u can use:
dir /ah/p/w

Restrict Login Hours Allowed On Computer

To restrict a users logon hours, use de net user command. These commands are used from de Command Prompt. (Start - RUN - and type cmd)

Below are some examples:

1 - net user Joanna /time:M-F,08:00-17:00

2 - net user Ninja /time:M-F,8am-5pm

3 - net user Echelon /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00

4 - net user Shine /time:all (this one means this user can always log on)

Note:You can only restrict when a user can log on to de system. On a stand alone computer, dere is no way to force a user to log off when deir hours expire, without a third party script or software.

Convert File System From FAT32 To NTFS

Open a DOS prompt and give de command

Convert d: /fs:ntfs

This command would convert your d: drive to ntfs.

If de system cannot lock de drive, you will be prompted to convert it durin’ next reboot.

Normally you should select yes.

Conversion from fat/fat32 to ntfs is non-destructive, your data on de drive will NOT be lost.

Be aware that convertin’ to ntfs will make that partition of your drive unreadable under dos unless you have ntfs utilites to do so.

Check How Long System Is Running

Here’s how you verify system uptime:

Click Start | Run and type cmd to open a command prompt.

At de prompt, type systeminfo

Scroll down de list of information to de line that says System Up Time.

This will tell you in days, hours, minutes and seconds how lon’ de system has been up.

Note that this command only works in XP Pro, not in XP Home. You can, however, type net statistics workstation at de prompt in Home. The first line will tell you de day and time that de system came online.

How Do I See Hidden Files In DOS?

Simple and useful tip

At command prompt just type :
dir /ah

If de list is too lon’ u can use :
dir /ah/p/w

Get In Windows 2000 As Administrator

NOTE: Requires a boot disk.

Get de command prompt and go to C:\winnt\sytem32\config\ and do
de followin’ commands:

attrib -a -r -h
copy sam.* a:\
del Sam.*

Reboot de computer. dere should be no administrator password. Just put in administrator and hit enter. Replace de same files to restore de password to hide intrusion.

How To Create Important Files In DOS

This is a simple but most forgotton command to createfiles like config.sys and autoexec.bat files, well heres it. Even if u dont have a dos boot disk u can work ur way to some extent.

At c: prompt
type
copy con config.sys
devicehigh=c:doshimem.sys
device=c:dossetver.exe
devicehigh=c:dosemm386.exe ram
dos=high,umb
last drive=z
den press CTRL + z
press enter
Config.sys file will be created.

Similarly u can create autoexec.bat

@echo off
prompt=$P$G
path=c:dos;c:
lh mouse
lh doskey
Press CTRL + Z

Add “CMD Promt” To Folder Context Menu

Add de “Open cmd prompt” to folder context menus, drives and My Computer

Copy what’s in de code area to notepad and save as cmd here.reg

CODE

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDriveshellcmd]
@=”Command Prompt”

[HKEY_CLASSES_ROOTDriveshellcmdcommand]
@=”cmd.exe /k “cd %L”"

[HKEY_CLASSES_ROOTDirectoryshellcmd]
@=”Command Prompt”

[HKEY_CLASSES_ROOTDirectoryshellcmdcommand]
@=”cmd.exe /k “cd %L”"

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellcmd]
@=”Command Prompt”

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellcmdcommand]
@=”cmd.exe /k “cd %L”"