Showing posts with label Dos. Show all posts
Showing posts with label Dos. Show all posts

Dos command to find out your login time and install date of windows

During my initial days of computing i usually install a fresh copy of windows each time i got some kind of error like if my folder options is not working because of any virus activity,or some kind of booting problem.But after becoming a Tech blogger and computer engineering student now i emphasize on solving the problem rather than installing a fresh copy of windows.

It has been a long time since i installed a fresh windows.Today i tried to find out the last time of my windows installation.For finding this i goggled my query and i found out a dos command which is very useful for finding system information.

Go to Run-->Cmd and then type systeminfo | find /i “install date” to know the date when your installed Windows on the PC. (see image)


and if you want to find out last time when you booted your windows xp PC then go to cmd and type systeminfo | find /i “boot time” .This will show the time when you last rebooted the computer.

Alternative, you could start Windows Task Manager (Alt+Ctrl+Del), switch to the Performance tab and you should see a field that says “Up Time” that’s even more convenient but some computers have Task managers disabled.

Extra tip:If you would simply type "systeminfo" without quotes in cmd,then you will lot of information about your system.Filter it your self.


Read more!

LOCK UR FOLDER WITHOUT USING ANY SOFTWARE

This is a different way to lock up ur folder without using any software.This is not hiding ur folder but locking it..using batch file... What is batch file??? It is this file (command.com) which handles all DOS commands that you +give at the DOS prompt---such as COPY, DIR, DEL etc.
code...
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

steps to do it........
1) Copy the give code in a note pad and save the note pad in your pc with the name name.bat (that is with the extension of .bat). you can replace the name portion with anything u want.
( In place of password in the code given type your desired password.)
2) A batch file will be created where you have saved. Now double click on it , it will make a folder with the name locker at the same place where the batch file is save.
3) Now add the files you want to be locked in that folder.
4) Double click on the batch file. It will ask for locking the folder formed. Type y(yes). The folder will be locked and hidden.
5) To unlock,double click on batch file again and enter the password in the new window opened.


Read more!

Who is watching you in local network

If you are connected in a local network then there are chances that a user might use your computer.That user might access as well as modify your file and settings.

So there is a need that you keep an eye over them. So here is a command by which you can keep track of all the computer connected to you and using your computer now.

For this first go to DOS and then type the command NETSTAT and press enter.You will get the desired information. But if you want to know them regularly then you can select time option as well means you will get the output after the time interval that you have specified. For this write NETSTAT time in seconds in command prompt.Like if you want to get output after 5 seconds then write the command like this NETSTAT 5.This will generate an output after 5 seconds again and again.


Read more!
RSS Entries

Recent Post