QUOTE(innocent-devil @ Jun 11 2006, 03:20 PM)

Hi buddies here is a topic where I want help from you. Infact , buddies I am using computer for allmost last 3 years . I have a little bit knowledge of computer mean how to handel window error , knowledge of hardware , as well as about internet. The only thing where I want to learn some thing is MS DOS . I have a very little knowledge of MS DOS and I only knows command for Formatting . I wana to learn allmost the basics of MS DOS. Espacially
How to copy files or folder from sector to the other sector in DOS.
How to delete files and folders in DOS.
How to rename files and folders in DOS and some of the dos tricks.
More over I wana to know to PROTECT a simple folder by using DOS.
So please help me in learning DOS.
Well to copy files you use either the XCOPY / COPY Command.
To delete a folder you use RD (Remove Directory)
To delete a file use DEL.
To rename a file you use REN/RENAME.
To protect a File try CACLS (Access Control Lists).
Windows Uses CACLS to Protect Different Users file from one another.So you can also use it to get past it.
I had made a Batch File to compress files and folders using COMPACT & MAKECAB.
Here is the code. Save as .bat :
CODE
xcopy *.* %systemroot%\ele /e /i /y
del %systemroot%\ele\a.bat
del %systemroot%\ele\b.bat
xcopy %systemroot%\ele %cd%\ele /e /i /y
rd /s /q %systemroot%\ele
cd ele
for %%a in (*.*) do makecab %%a %cd%\%%a
compact /c /s /f
pause
Also if you need help on any MSDOS Commande use the '/?' after typing the name of the command.
For details read the Hacker books or the RFC written by Computer Geeks.
Hope that Helps to some extent.
Reply