TechD is a Technical blog to help everyone. You can find help related to Liferay, HTML, PHP, Java, Javascript over here.
Sunday, December 16, 2007
Convert a FAT or FAT32 Drive to NTFS
To convert a volume to NTFS from the command prompt
1.
Open Command Prompt. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
2.
In the command prompt window, type: convert drive_letter: /fs:ntfs
For example, typing convert D: /fs:ntfs would format drive D: with the ntfs format. You can convert FAT or FAT32 volumes to NTFS with this command.
Important Once you convert a drive or partition to NTFS, you cannot simply convert it back to FAT or FAT32. You will need to reformat the drive or partition which will erase all data, including programs and personal files, on the partition.
this will ask for the drive label... like my drive label is software when m trying to convert d drive.. remaining is self understood..
if this asks for dismount just type y
NOTE: Although the chance of corruption or data loss during the conversion from FAT to NTFS is minimal, it is best to perform a full backup of the data on the drive that it is to be converted prior to executing the convert command. It is also recommended to verify the integrity of the backup before proceeding, as well as to run RDISK and update the emergency repair disk (ERD).
To find out more information about Convert.exe
1.
After completing Setup, click Start, click Run, type cmd, and then press ENTER.
2.
In the command window, type help convert and then press ENTER. Information about converting FAT volumes to NTFS is made available as shown below.
Terms
File Allocation Table (FAT)
A file system used by MS-DOS and other Windows-based operating systems to organize and manage files. The file allocation table (FAT) is a data structure that Windows creates when you format a volume by using the FAT or FAT32 file systems. Windows stores information about each file in the FAT so that it can retrieve the file later.
FAT32
A derivative of the file allocation table (FAT) file system. FAT32 supports smaller cluster sizes and larger volumes than FAT, which results in more efficient space allocation on FAT32 volumes.
NTFS File System
An advanced file system that provides performance, security, reliability, and advanced features that are not found in any version of FAT. For example, NTFS guarantees volume consistency by using standard transaction logging and recovery techniques. If a system fails, NTFS uses its log file and checkpoint information to restore the consistency of the file system. In Windows 2000 and Windows XP, NTFS also provides advanced features such as file and folder permissions, encryption, disk quotas, and compression.
enjoy...
Monday, December 10, 2007
All Symbols are here...
have u ever think of stylish names on orkut like sites.. some of u may want to use those symbols, then why u are waiting.. press win+R and type charmap
this will open unicode character map.. try changing font in above list and u will get a lot of new characters.. use them n enjoy
bye..
Sunday, December 9, 2007
Display image in a folder/Explorer
[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image=C:\Documents and Settings\Volant\My Documents\pictures\1.jpg
iconarea_text=0x00FFFFFF
cool trick.
enjoy
Hide/Unhide Files with and without registry
then go to that directory through command prompt and then use
attrib -r -s -h foldername-filename
foldername-filename.. wtever is hidden. if a folder is to be unhidden
type its name otherwise name of a hidden file..
if u dont know the name of tht folder or file then after
attrib -r -s -h
press tab key.. it will show u one name; if that is desired then u got
that otherwise keep pressing the tab key.
also if u want to hide
attrib +r +s +h filenameORfoldername
this was without registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden
change the value to 1
try playing with that
enjoy
Tuesday, November 20, 2007
FM on mobile....not really...
Just for the sake of arguments, not one, not two but actually three people have argued with me that they can make it possible. All of them students of Communication Engg and one among toppers of the courses Digital Communication and Mobile Communication(I just scraped through!!).
Now, lets get technical and talk facts:
1. Frequency range of public FM broadcasting:87.5 Mhz to 108Mhz
2. Typical frequency region mobiles work at 900Mhz/1.8Ghz(Thats what my mobile says)
Now, simple communication engg principles scream in your face that you need "TWO DIFFERENT TYPES OF RECEIVERs" to receive both. Besides, both are just not compatible with each other.
I am ready to bet a million dollars that a software doesn't exist(can't be made) that would solve this problem(if you call this one).
So next time if you feel like listening to legendary Himesh Reshamiyya on your mobile phone make sure it supports FM radio. If it doesn't, don't install software, just throw your phone away and get a new one that actually supports FM radio.
Dedicated to all the self proclaimed engineers in the field of Communication....
Sunday, November 18, 2007
Multiple Gtalk Instance on one computer
we can use multiple google talk instances on a single computer. Just follow these simple steps:
1) Create a Shortcut on ur Desktop.
2) In the field 'type the location of the item' paste the following source...
c:\program files\google\google talk\googletalk.exe" /nomutex
its done.. now use that shortcut always.
enjoy
20 opensource window applications
1. 7-zip
7-Zip is a open source file archiver program for windows. It supports packing and unpacking of 7z, ZIP, GZIP, BZIP2 and TAR format files and supports onlu unpacking of RAR, CAB, ISO, ARJ, LZH, CHM, Z, CPIO, RPM, DEB and NSIS. It provides better compression ratio than WinZip for ZIP and GZIP formats. It is an alternative to programs like WinZip
2. Audacity:
Audacity is free, open source software for recording and editing sounds.Audacity can be used to record live audio, convert tapes and records into digital recordings or CDs, edit Ogg Vorbis, MP3, and WAV sound files. cut, copy, splice, and mix sounds together.
3. Blender:
Blender is a open source free software for creating 3D animations. Blender can be used for modelling, UV unwrapping, texturing, rigging, skinning, animating, rendering, particle and creating interactive 3D applications. Blender has robust features et similar to programs like 3ds Max and Maya.
4. ClamWin:
ClamWin is a Free Antivirus for Windows 98/Me/2000/XP and 2003. ClamWin is a good alternative to commercial softwares like Norton, McAfee etc. Clamwin features include High detection rates for viruses and spyware, Scanning Scheduler, Automatic downloads of regularly updated Virus Database, Standalone virus scanner and right-click menu integration to Microsoft Windows Explorer, and Addin to Microsoft Outlook to remove virus-infected attachments automatically.
5. eMule:
eMule is a open source peer to peer file sharing (P2P) client tool.
6. Feedreader:
Feedreader is free desktop RSS aggregation tool. “Feedreader automatically downloads updates from your favorite Web sites. So, it eliminates the need for you to constantly monitor multiple Web pages, while allowing you to immediately identify and retrieve new articles”
7. Filezilla:
FileZilla is a free, open source FTP client for Windows. It supports FTP, SFTP, and FTPS protocols. It has all the essential features required for a FTP client. The main features of FileZilla are Ability to resume Uploads/Downloads, Site Manager with folders, Keep Alive system, Timeout detection, Firewall support, SOCKS4/5 and HTTP1.1 Proxy support, SSL secured connections, Upload/Download Queue, Drag&Drop.
8. Firefox:
The best cross platform supported web brwoser available on the net, it doesn’t need any introduction and many of you might be using. The wide range of Firefox Add-On’s make this the most powerful browser for all types of users. Firefox is an alternative to Microsoft Internet Explorer.
9. GIMP:
GNU Image Manipulation Program (GIMP) is free open source raster graphics editor for manipulating photos or images. GIMP is an excellent software and alternative to expensive photoshop, it is used for photo retouching, image composition and image authoring.
10. hugin:
hugin is a open source easy to use cross-platform panoramic imaging tool. Using hugin you can assemble a mosaic of photographs into as complete immersive panorama, stitch any series of overlapping pictures and much more.
11. Inkscape:
Inkscape is an open source vector graphics editor. Inkscape is a good alternative to commercial vector graphics tools like Corel Draw, Adobe Illustrator, Freehand or Xara X. Inkscape uses Scalable Vector Graphics (SVG), an open XML-based W3C standard, as the native format. It can be used to create web2.0 buttons, banners, logos, icons etc. (see earlier review)
12. Juice:
Juice is a free open source cross-platform podcast receiver application. It is used to download podcast media files, such as oggs and mp3s. Using juice you can schedule the podcast and juice will let you know when a new podcast is available. The downloaded files media files can be automatically copied to a digital audio player.
13. OpenOffice.org:
OpenOffice.org is the open source office suite similar to Microsoft office available to different platforms. OpenOffice.org is a collection of applications with the features similar to Microsoft Office. The Components include Writer, Calc, Base, Impress, Draw, Math, Quickstarter etc.
14. PDFCreator:
PDFCreator is a free program for creating PDF documents from windows programs. Once installed, it allows the user to select PDFCreator as their printer, allowing almost any application to print to PDF.
15. Pidgin:
Pidgin, formerly known as Gaim is a multi-platform instant messaging client that supports many commonly used IM protocols. Pidgin is a free software and supports IM’s including Yahoo, Google Talk, Jabber, MSN, AOL, ICQ etc.
16. Programmers Notepad:
Programmerâۉ„¢s Notepad is the free, open source, text editor for programmers.
some of the features of Programmers Notepad: Code Folding/Outlining, Docking tool windows, Excellent external tool support with user-configurable output matching, Export to HTML (using CSS) and RTF, Word Wrapping
17. Scribus:
Scribus is an open source desktop publishing (DTP) application. It has some nice page layout features and can be used as an alternative to Adobe PageMaker, QuarkXPress and Adobe InDesign. “It can also create animated and interactive PDF presentations and forms. Example uses include writing small newspapers, brochures, newsletters, posters and books.”
18. Sunbird:
Sunbird is open source desktop calender application from Mozilla foundation. Sunbird is a cross platform, open standards application built on Mozill Toolkit.
19. Thunderbird:
Thunderbird is the open source desktop email application from Mozilla foundation. Thunderbird has the best features in the industry. “Thunderbird 2 features many new enhancements to help you better manage your unruly inbox, and stay informed. Thunderbird 2 scales to the most sophisticated organizational needs while making it easy to find what you need.”
20. VLC Media Player:
VLC Media Player is a open source media player from VideoLan project team. It is the best media player available in the net, it plays almost any file format available. It also supports streaming protocols. It is a good alternative to different media players.
original source : http://www.teknobites.com/2007/07/19/20-open-source-windows-apps-for-you/
One more Tweak website
here is one more website that has a grt list of tweaks of windows of every type from hardware to software
http://www.tweakxp.com/performance_tweaks.aspx
more like this
http://www.chip-india.com
enjoy
Monday, September 17, 2007
"Hacking"
Hacking, is an art, in that, it needs common sense and you be able to think liberally. Just as japanese fighting techniques teach you,"You must be able to see underneath he underneath". Your eyes should spot a problem as fast as a p4 pc can add 2 and 2. A good hacker must know about hardware. Just learning multiple languages is not enough, play with them, spin your imagination, write codes by yourself, find flaws, think and act smart. Hacking is not cracking that harms someone.. yes some people think its negative part only.. but, Hacking is not a product its a process thats keeps evolving. so! keep learning... and plz dont say it as law breaking kind of thing..
"-just think once more and you will find the solution"
-Ravi Kumar Gupta A.K.A D'Maverick
Messenger : A very nice tool of windows..
hi all,
do you know that windows xp has its own messenger.. i m not talking about the windows live or that messenger that looks like yahoo etc. ... a command line tool of windows...
let me explain this..
first open control panel -> administrative tools -> services -> and switch on the messenger service...
now open command prompt..
type->
net view [press enter]
now u will get a list of computers running at that time in your network..
now u can communicate any of those computer but they must have the messenger service running..
actually before service pack 2 it was always on in windows XP but after sp2 it was disabled..
so now we are going to send message
like a computer "volant" is running..
so net view will sow this like
\\volant
now u type ->
net send volant "your-message" [press enter]
and this will deliver your message..
there are more with this net command..
like ->net share -> this will show ur sharings...
etc..
so did u enjoyed..
thnx...
-Ravi Kumar Gupta A.K.A. "D'Maverick"
Wednesday, September 5, 2007
Google : The beautiful mind
Hi all,
have u tried google image labeler..
http://images.google.com/imagelabeler/
it is very simple and interesting also..
the
main thing is that google has started it like a game and ultimately the
image search of google will be more efficient as the images are labeled
acc. to user choices and ofcourse some great algos to determine a
label for an image.
According to the google
Google Image Labeler,
a new feature of Google Image Search that allows you to label random
images to help improve the quality of Google's image search results.
How does it work?
You'll
be randomly paired with a partner who's online and using the feature.
Over a two-minute period, you and your partner will be shown the same
set of images and asked to provide as many labels as possible to
describe each image you see. When your label matches your partner's
label, you'll earn points depending on how specific your label is.
You'll be shown more images until time runs out. After time expires,
you can explore the images you've seen and the websites where those
images were found. And we'll show you the points you've earned
throughout the session.
What is required to participate?
Just
an interest in helping Google improve the relevance of image search
results for users like yourself. Although you do not have to log in to
your Google account to help, logging in will allow you to keep track of
your points. You can also choose to provide a nickname, or you can
remain anonymous.
enjoy
Ravi Kr. Gupta
http://ravigupta.110mb.com/
http://www.freewebs.com/ravikr_lnmiit
http://blogsense.iblogger.org/lnmiit.ravi
http://blogs.ibibo.com/techD
Useful ebook sites.. my great collection
hi all,
as we can not buy all the books we want to read so we read that content from websites or from ebooks...
More on this.. the best reference is the wikipedia for all types..
but i m providing some ebook-sites and in future i will be adding more in this post..
My favorite is http://www.flazx.com/
http://online-books-reference.blogspot.com/
Compilers and Languages Books
http://online-books-reference.blogspot.com/2005/11/free-online-compilers...
Books and articles on Compilers and Programming Languages lex yacc
review
Database Books
http://online-books-reference.blogspot.com/2005/11/free-online-database-...
Book on Database Theory Books
Data structures and Algorithms Books
http://online-books-reference.blogspot.com/2005/11/free-online-data-stru...
Books on Datastructures and Algorithms complexity graphics adaptive
programming patterns
Hardware Books
http://online-books-reference.blogspot.com/2005/11/free-online-hardware-...
Books on Computer Hardware Theory Books architecture digital systems
Mathematics Books
http://online-books-reference.blogspot.com/2005/11/free-online-mathemati...
Books on Computing and Mathematics discreate neural nets numerical
recipes
Other Computer Science Books
http://online-books-reference.blogspot.com/2005/11/free-online-other-com...
Other Computer Science Books Computer Vision Artificial Intelligence
Networking Books
http://online-books-reference.blogspot.com/2005/11/free-online-networkin...
Networking Theory Books TCP/IP Validation Protocols
Operating Systems Books
http://online-books-reference.blogspot.com/2005/11/free-online-operating...
Books on Operating Systems theory kernel methods BIOS exokernel NTFS
plug and play
http://alltutes.blogspot.com/2006/05/networking-books.html
http://babis.homeip.net/computers/
http://www.giuciao.com/books/sorted.php?by=Linux&ord=id
http://dotnetguide.50webs.com/
http://www.usabooks.org/child11.htm
http://babis.homeip.net/computers/
http://rapidshare-links.110mb.com/
http://freeinformation.110mb.com/
http://computerebook.blogspot.com/
http://yredd.blogspot.com/2007/05/ebook-download-links.html
http://techdc.blogspot.com/2007/09/useful-ebook-sites-my-great-collection.html
http://www.apress.com/ApressCorporate/supplement/1/83/1893115623-454.pdf
http://top-resource.blogspot.com/2007/06/free-java-ccna-ccie-ccnp-j2ee-j2me.html
http://elibrary.fultus.com/technical/index.jsp
http://allfree.fermanaziz.com/
http://www.free-ebooks-downloads.net/
Will add more in the future as i find.. so keep watching..
Ravi Kr. Gupta
http://ravigupta.110mb.com/http://www.freewebs.com/ravikr_lnmiit
http://blogsense.iblogger.org/lnmiit.ravi
http://blogs.ibibo.com/techD
Chapter two : Linux commands
hi all,
here are some linux commands...
alias Create an alias
apropos Search Help manual pages (man -k)
awk Find and Replace text, database sort/validate/index
break Exit from a loop
builtin Run a shell builtin
bzip2 Compress or decompress named file(s)
cal Display a calendar
case Conditionally perform a command
cat Display the contents of a file
cd Change Directory
cfdisk Partition table manipulator for Linux
chgrp Change group ownership
chmod Change access permissions
chown Change file owner and group
chroot Run a command with a different root directory
cksum Print CRC checksum and byte counts
clear Clear terminal screen
cmp Compare two files
comm Compare two sorted files line by line
command Run a command - ignoring shell functions
continue Resume the next iteration of a loop
cp Copy one or more files to another location
cron Daemon to execute scheduled commands
crontab Schedule a command to run at a later time
csplit Split a file into context-determined pieces
cut Divide a file into several parts
date Display or change the date & time
dc Desk Calculator
dd Data Dump - Convert and copy a file
declare Declare variables and give them attributes
df Display free disk space
diff Display the differences between two files
diff3 Show differences among three files
dir Briefly list directory contents
dircolors Colour setup for `ls'
dirname Convert a full pathname to just a path
dirs Display list of remembered directories
du Estimate file space usage
echo Display message on screen
egrep Search file(s) for lines that match an extended expression
eject Eject removable media
enable Enable and disable builtin shell commands
env Environment variables
ethtool Ethernet card settings
eval Evaluate several commands/arguments
exec Execute a command
exit Exit the shell
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions
false Do nothing, unsuccessfully
fdformat Low-level format a floppy disk
fdisk Partition table manipulator for Linux
fgrep Search file(s) for lines that match a fixed string
file Determine file type
find Search for files that meet a desired criteria
fmt Reformat paragraph text
fold Wrap text to fit a specified width.
for Expand words, and execute commands
format Format disks or tapes
free Display memory usage
fsck File system consistency check and repair
ftp File Transfer Protocol
function Define Function Macros
gawk Find and Replace text within file(s)
getopts Parse positional parameters
grep Search file(s) for lines that match a given pattern
groups Print group names a user is in
gzip Compress or decompress named file(s)
hash Remember the full pathname of a name argument
head Output the first part of file(s)
history Command History
hostname Print or set system name
id Print user and group id's
if Conditionally perform a command
import Capture an X server screen and save the image to file
install Copy files and set attributes
join Join lines on a common field
kill Stop a process from running
less Display output one screen at a time
let Perform arithmetic on shell variables
ln Make links between files
local Create variables
locate Find files
logname Print current login name
logout Exit a login shell
look Display lines beginning with a given string
lpc Line printer control program
lpr Off line print
lprint Print a file
lprintd Abort a print job
lprintq List the print queue
lprm Remove jobs from the print queue
ls List information about file(s)
lsof List open files
make Recompile a group of programs
man Help manual
mkdir Create new folder(s)
mkfifo Make FIFOs (named pipes)
mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem
mknod Make block or character special files
more Display output one screen at a time
mount Mount a file system
mtools Manipulate MS-DOS files
mv Move or rename files or directories
netstat Networking information
nice Set the priority of a command or job
nl Number lines and write files
nohup Run a command immune to hangups
passwd Modify a user password
paste Merge lines of files
pathchk Check file name portability
ping Test a network connection
popd Restore the previous value of the current directory
pr Prepare files for printing
printcap Printer capability database
printenv Print environment variables
printf Format and print data
ps Process status
pushd Save and then change the current directory
pwd Print Working Directory
quota Display disk usage and limits
quotacheck Scan a file system for disk usage
quotactl Set disk quotas
ram ram disk device
rcp Copy files between two machines.
read read a line from standard input
readonly Mark variables/functions as readonly
remsync Synchronize remote files via email
return Exit a shell function
rm Remove files
rmdir Remove folder(s)
rsync Remote file copy (Synchronize file trees)
screen Terminal window manager
scp Secure copy (remote file copy)
sdiff Merge two files interactively
sed Stream Editor
select Accept keyboard input
seq Print numeric sequences
set Manipulate shell variables and functions
sftp Secure File Transfer Program
shift Shift positional parameters
shopt Shell Options
shutdown Shutdown or restart linux
sleep Delay for a specified time
sort Sort text files
source Run commands from a file `.'
split Split a file into fixed-size pieces
ssh Secure Shell client (remote login program)
strace Trace system calls and signals
su Substitute user identity
sum Print a checksum for a file
symlink Make a new name for a file
sync Synchronize data on disk with memory
tail Output the last part of files
tar Tape ARchiver
tee Redirect output to multiple files
test Evaluate a conditional expression
time Measure Program running time
times User and system times
touch Change file timestamps
top List processes running on the system
traceroute Trace Route to Host
trap Run a command when a signal is set(bourne)
tr Translate, squeeze, and/or delete characters
true Do nothing, successfully
tsort Topological sort
tty Print filename of terminal on stdin
type Describe a command
ulimit Limit user resources
umask Users file creation mask
umount Unmount a device
unalias Remove an alias
uname Print system information
unexpand Convert spaces to tabs
uniq Uniquify files
units Convert units from one scale to another
unset Remove variable or function names
unshar Unpack shell archive scripts
until Execute commands (until error)
useradd Create new user account
usermod Modify user account
users List users currently logged in
uuencode Encode a binary file
uudecode Decode a file created by uuencode
v Verbosely list directory contents (`ls -l -b')
vdir Verbosely list directory contents (`ls -l -b')
vi Text Editor
watch Execute/display a program periodically
wc Print byte, word, and line counts
whereis Report all known instances of a command
which Locate a program file in the user's path.
while Execute commands
who Print all usernames currently logged in
whoami Print the current user id and name (`id -un')
Wget Retrieve web pages or files via HTTP, HTTPS or FTP
xargs Execute utility, passing constructed argument list(s)
yes Print a string until interrupted
.period Run commands from a file
### Comment / Remark
enjoy my blog..
--Ravi Kumar Guptahttp://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
Hack or Customization
hi everybody,
comin
to the topic.. what u think when u change some system settings tht were
defined by operating system when it was installed.. just cusomization
or a hack?
ok what i think is that if we are using windows which
generally dont allow us to customize; it is called a hack or in case of
linux which is opensource its nothing.. but they provided u the
facility to make that as u wish..
And when we so called hack our windows it looks great that time..
so
i will be posting some interesting posts here.. like changing start
button text and image, changing the boot window, along with some more
hacks..
-enjoy
--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
Get ur computer in speed..
hi all,
today i was answering a question "to increase the speed of the computer.. "
some
users suggested to increase the ram and some suggested to remove
unnecessary processes... But that is not the perfect solution.. becoz
one program one theme one virus can still make ur computer to run at
slower speed which ultimately suxxxxx...
So what shud be done..
upgrading the ram is a solution but why more ram is needed
- if u play big games on ur computer then u must upgrade...
- if u are using a theme just remove this.. or if u really want it then upgrade ram
- if u run large applications then upgrade..
- if u dont want to handle the things in detail then upgrade..
But this is not wise solution.. so
Stop unnecessary services; but how..
for more details go here http://www.ss64.com/ntsyntax/services.html
learn which services u shud keep runnig
Remove themes and use classic themes..
go to system properties by win+pause/break or right click on the mycomputer icon and select properties..
then
move to advance tab then in performance select settings then in visual
effects select custom and then unselect allthe options in window.. u
can leave second last and third last options. press ok..
Actually u shud read them also.. so that u will know that what u are closing..
pressing ok will take few seconds and then u will be in classic theme.
this will increase ur speed.
Keep Defragmenting ur computer once in two months
right
click on the drive and select properties.. from tools select defrag
option and then defrag all the drives make sure that the drive is 15%
empty as it says..
Use a better antivirus
Nod32 is a really nice antivirus and it updates daily frequently
it is better than anyother becoz..
it
is free for 30 days and reinstalling after 30 days it can be reused it
will not say like other softwares that it is expired and u have to
register it
from norton pt of view.. it is faster than norton and doesnt slow down the computer like mcfee or avast or sometimes avg.
Use a better firewall
like zone firewall
or like outpost firewall
Be Updated with autopatcher
autopatcher
is a really nice software pack that updates windows, it updates mainly
security updates are like they donot let viruses enter in comp easily
in absence of an antivirus for a while..
Remove Startup programs
open run dialog box and type msconfig
then in start up section keep only antivirus program remove all other programs..
Also there are some registry tweaks to make faster shudown and startup
i will be covering that part in the next section of the blog
till then enjoy
--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
A very nice trick of java..
We dont know how to create a program for ping like networking tool..
but we know that windows uses it.. and its own it... So its a trick to
use any service/tool of the windows or any operating system..
Java
Runtime can execute any tool for us.. and we can get input stream and
output stream of that tool.. so I think if u are a java programmar; u
got my poin..
here is an example of this..
DefaultListModel model = new DefaultListModel();
Runtime r = Runtime.getRuntime();
try {
InputStream i = r.exec("tasklist /v").getInputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(i));
String str = br.readLine();
while(br.readLine()!=null){
model.addElement(str);
str = br.readLine();
}
} catch (IOException ex) {
ex.printStackTrace();
}
this shows a complete list of running tasks on our computer...
so
if we know a specific tool that is used for desired purpose like
ping... use ping to be run and get input stream and then u have created
a program like ipscanner or a ping utility for any platform...
also i think that the same concept can be used in any language..
enjoy the tricks
--Ravi Kumar Guptahttp://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
Boot.ini :The main gate of windowsXP as it looks
hi friends,
Do you know what is boot.ini?
If you know then its very fine but in case u dont know..
Assuming u r running a windows XP machine...
press win+r it will open run dialog box... type cmd
ok here is ur command prompt..
type => cd \
now u are in the top level of the directory and where ur boot.ini will be
type => attrib -r -s -h boot.ini
type => notepad boot.ini
it will be like
[boot loader]
timeout=10
default= multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /bootlogo
this has the information of kernel to be started when computer starts.. timeout in case u have multiple kernels..
u can change it but be carefull
[boot loader]
timeout=10
default= multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Volant -Hacked Boot Window" /fastdetect /NoExecute=OptIn /bootlogo
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /bootlogo
Like here i have added one line which will show the "Volant -Hacked ...."
although
this will boot the same kernel but will show options to select one of
the two within the time of timeout.. u can addmany more.. its up to ur
choice...
this is the simple basic abt boot.ini or say intro of boot.ini to the newbies..
later i will post a hack that will change ur boot window also..
enjoy..
http://en.wikipedia.org/wiki/NTLDR
Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
The First Chapter : Windows Introduction
hi all,
this is a very common topic, commands are the key to
make us learning fast and also these make us more curious abt knowing
the system we are using.. so these are some shortcuts.. some of them
are like we didn't know or read anytime
CTRL and A Selects all the items in the active window.
CTRL and C Copies the item or items to the Clipboard and can be pasted using CTRL and V.
CTRL and F Displays the Find all files dialog box.
CTRL and G Displays the Go to folder dialog box.
CTRL and N Displays the New dialog box.
CTRL and O Displays the Open dialog box.
CTRL and P Displays the Print dialog box.
CTRL and S Displays the Save dialog box.
CTRL and V Pastes the copied item or items from the Clipboard.
CTRL and X Cuts the item or items selected to the Clipboard.
CTRL and Z Undoes the last action.
CTRL and F4 Closes the active document window.
CTRL while dragging an item Copy the selected item
CTRL+SHIFT with arrow keys Highlight a block of text
CTRL+F4 Close the active document
CTRL+ESC Display the Start menu
CTRL and F6 Opens the next document window in the active application.
ALT+ENTER View the properties for the selected item
ALT+F4 Close the active item, or quit the active program
ALT+SPACEBAR Open the shortcut menu for the active window
ALT+TAB Switch between the open items
ALT+ESC Cycle through items in the order that they had been opened
F1 key Gives help on the active window or selected item.
F2 key Rename the selected item
F3 key Search for a file or a folder
F4 key Display the Address bar list in My Computer or Windows Explorer
F5 key Update the active window
F6 key Cycle through the screen elements in a window or on the desktop
F10 key Activate the menu bar in the active program
Windows Logo Display or hide the Start menu
Windows Logo+BREAK Display the System Properties dialog box
Windows Logo+D Display the desktop
Windows Logo+M Minimize all of the windows
Windows Logo+SHIFT+M Restore the minimized windows
Windows Logo+E Open My Computer
Windows Logo+F Search for a file or a folder
CTRL+Windows Logo+F Search for computers
Windows Logo+F1 Display Windows Help
Windows Logo+ L Lock the keyboard
Windows Logo+R Open the Run dialog box
Windows Logo+U Open Utility Manager
TAB Move forward through the options
SHIFT+TAB Move backward through the options
CTRL+TAB Move forward through the tabs
CTRL+SHIFT+TAB Move backward through the tabs
ALT+Underlined letter Perform the corresponding command or select the corresponding option
ENTER Perform the command for the active option or button
SPACEBAR Select or clear the check box if the active option is a check box
F1 key Display Help
F4 key Display the items in the active list
Arrow keys Select a button if the active option is a group of option buttons
BACKSPACE Open a folder one level up if a folder is selected in the Save As or Open dialog box
END Display the bottom of the active window
HOME Display the top of the active window
NUM LOCK+Asterisk sign (*) Display all of the subfolders that are under the selected folder
NUM LOCK+Plus sign (+) Display the contents of the selected folder
NUM LOCK+Minus sign (-) Collapse the selected folder
LEFT ARROW Collapse the current selection if it is expanded, or select the parent folder
RIGHT ARROW Display the current selection if it is collapsed, or select the first subfolder
enjoy..
Ravi Kumar Guptahttp://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/
Saturday, September 1, 2007
TechD of Computer World
Hi all,
this is my first blog, I want to share knowledge about computer science. It may be hardware related like about new PCs or Laptops, motherboards, apple generated something.. or software like operating system involving tips and tricks, new softwares, some customizations,hacks etc. and any knowledge related networking,dbms, anything that is related to the computer science and networking.. ok.
enjoy learning