AD 1
Showing posts with label Technology Help. Show all posts
How to Enable Copy Paste in CMD ???
It is very simple...
Step 1: Open CMD, Just type CMD in search or Press Win + X key to select Command Prompt.
Step 2: Right Click on the Title of the CMD window and Select Properties just like its shown in the below Picture
Step 3: You will see a Pop up Window coming up, Now on the Right hand side, Under Edit Options, Just Check Quick Edit Mode and click OK
Step 4: Everything is Done, Now just Copy any Text from Here or Anywhere else Using CTRL + C keys and just Right click using your mouse on CMD. You will see that the text is been pasted automatically in CMD. Please Understand that Using CTRL + C to Copy text is Important.
Likewise if you wish to Copy Text from CMD to paste elsewhere then Just Select the Text in CMD and Again just Right Click with the mouse. Your Text is Copied and ready to Paste it in any Document you want.
This Doesn’t Limit you to just Text you can even copy File or Folder path and paste it in CMD. Everything that you have to type manually can be copied from somewhere and pasted directly to CMD with this small Tweak
How to Find Simple Interest And Maturity Amount Using C Program ?
Program Sorce Code:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
# include <stdio.h>
main ()
{
int p=5000,r=3;
int T,SI,AMT;
printf("Principal = %d\nRate = %d % \n",p,r);
printf("Time=");
scanf("%d",&T);
SI=(p*r*T)/100;
AMT=SI+p;
printf("\n Amount at the end of %d years is=%d",T,AMT);
}
INPUT:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
# include <stdio.h>
main ()
{
int p=5000,r=3;
int T,SI,AMT;
printf("Principal = %d\nRate = %d % \n",p,r);
printf("Time=");
scanf("%d",&T);
SI=(p*r*T)/100;
AMT=SI+p;
printf("\n Amount at the end of %d years is=%d",T,AMT);
}
INPUT:-
OUTPUT:-
How to find LCM of two numbers using C language ?
Program Sorce Code:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include <stdio.h>
void main()
{
int num1, num2, max;
printf("Enter two positive integers: ");
scanf("%d %d", &num1, &num2);
max=(num1>num2)?num1:num2;
while(1)
{
if(max%num1==0 && max%num2==0)
{
printf("\nLCM of %d and %d is %d", num1, num2,max);
break;
}
++max;
}
getch();
}
INPUT:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include <stdio.h>
void main()
{
int num1, num2, max;
printf("Enter two positive integers: ");
scanf("%d %d", &num1, &num2);
max=(num1>num2)?num1:num2;
while(1)
{
if(max%num1==0 && max%num2==0)
{
printf("\nLCM of %d and %d is %d", num1, num2,max);
break;
}
++max;
}
getch();
}
INPUT:-
OUTPUT:-
How to find HCF of two numbers using C language ?
Actually, it is a very easy program. The only difficulty that one may have is to find a logic in making that program .
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include<stdio.h>
int main()
{
int x,y,m,i;
printf("Insert any two number: ");
scanf("%d%d",&x,&y);
if(x>y)
m=y;
else
m=x;
for(i=m;i>=1;i--)
{
if(x%i==0&&y%i==0)
{
printf("\nHCF of two number is : %d",i) ;
break;
}
}
return 0;
}
INPUT:-

Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include<stdio.h>
int main()
{
int x,y,m,i;
printf("Insert any two number: ");
scanf("%d%d",&x,&y);
if(x>y)
m=y;
else
m=x;
for(i=m;i>=1;i--)
{
if(x%i==0&&y%i==0)
{
printf("\nHCF of two number is : %d",i) ;
break;
}
}
return 0;
}
INPUT:-
OUTPUT:-
Microsoft Windows
Microsoft Windows or Windows is a super family of graphical operating systems developed, marketed, and sold by Microsoft.
It consists of several families of operating systems, each of which cater to a
certain sector of the computing industry. Active Windows families include Windows NT, Windows Embedded and Windows
Phone; these may encompass subfamilies, e.g. Windows
Embedded Compact (Windows CE) or Windows Server. Defunct Windows
families include Windows 9x and Windows
Mobile.
Microsoft
introduced an operating
environment named Windows on November 20, 1985 as a graphical operating system shelf or MS-DOS in response to the growing interest in graphical user interfaces (GUIs). Microsoft Windows came to dominate the world's personal computer market with over 90% market share, overtaking Mac OS, which had been introduced in
1984. However, it is outsold by Android on smartphones and tablets.
As of
April 2014, the most recent versions of Windows for personal computers, smartphones, server computers and embedded devices are respectively Windows 8.1, Windows Phone 8.1, Windows Server 2012 R2 and Windows
Embedded 8. A specialized version of Windows runs on the Xbox One game console.
How to Make A Fake Virus in Notepad ?
Let me tell you how to make a fake virus in notepad..( The following code has been made for educational purpose only ).......
1. Open the notepad from Start or Command Prompt.
2. Write the following code :-
@echo off
title Cyber Attack Sequence Initiation
color 02
echo Warning-Complete File Corruption imminent.
timeout /t 3 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 10
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 9
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 8
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 7
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 6
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 5
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 4
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 3
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 2
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 1
timeout /t 1 /nobreak >nul
CLS
echo File corruption and computer shutdown initiated
timeout /t 3 /nobreak >nul
CLS
echo Corrupting Critical System Files...
echo del* *
timeout /t 2 /nobreak >nul
echo The System cannot find the file specified.
echo:
echo:
echo:
echo:
echo:
echo Corrupting Root Partition...
echo del C:\Windows
timeout /t 2 /nobreak >nul
echo Deletion Successful!
echo:
echo:
echo:
echo:
echo:
echo:
echo:
echo Disabling Windows Firewall...
echo Killing all processes...
timeout /t 2 /nobreak >nul
echo Allowing virus to boot from startup...
timeout /t 2 /nobreak >nul
echo:
echo:
echo:
echo:
echo:
echo Virus has been executed successfully!
echo:
echo:
echo Have Fun!
timeout /t 2 /nobreak >nul
shutdown -s -t 45 /c Your computer has committed suicide. Have a nice day.
3. Save the notepad file with any name of your choice but extension should be .BAT
For example, save your notepad file with VIRUS.BAT.
4. Now whenever you or your friends open the file.... The Fake Virus will do its work. Enjoy
1. Open the notepad from Start or Command Prompt.
2. Write the following code :-
@echo off
title Cyber Attack Sequence Initiation
color 02
echo Warning-Complete File Corruption imminent.
timeout /t 3 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 10
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 9
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 8
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 7
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 6
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 5
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 4
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 3
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 2
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 1
timeout /t 1 /nobreak >nul
CLS
echo File corruption and computer shutdown initiated
timeout /t 3 /nobreak >nul
CLS
echo Corrupting Critical System Files...
echo del* *
timeout /t 2 /nobreak >nul
echo The System cannot find the file specified.
echo:
echo:
echo:
echo:
echo:
echo Corrupting Root Partition...
echo del C:\Windows
timeout /t 2 /nobreak >nul
echo Deletion Successful!
echo:
echo:
echo:
echo:
echo:
echo:
echo:
echo Disabling Windows Firewall...
echo Killing all processes...
timeout /t 2 /nobreak >nul
echo Allowing virus to boot from startup...
timeout /t 2 /nobreak >nul
echo:
echo:
echo:
echo:
echo:
echo Virus has been executed successfully!
echo:
echo:
echo Have Fun!
timeout /t 2 /nobreak >nul
shutdown -s -t 45 /c Your computer has committed suicide. Have a nice day.
3. Save the notepad file with any name of your choice but extension should be .BAT
For example, save your notepad file with VIRUS.BAT.
4. Now whenever you or your friends open the file.... The Fake Virus will do its work. Enjoy
Common Keyboard Shortcuts
Some commonly used keyboard shortcut keys that everyone should know are :-
1. ALT+F4 - Closes the program or Opens the dialog Box to Shut Down, Sleep, Hibernate, Log off Windows
2. CTRL+F - Finds a word or phrase in the document.
3. CTRL+C - Copies the text, document or folder.
4. CTRL+V - Pastes the text, document or folder.
5. CTRL+A - Selects the whole document.
6. CTRL+H - Replaces the word or phrase in a document.
7. CTRL+X - Cuts the selected item.
8. CTRL+P - Prints the current page or whole document.
9. CTRL+S - Save the current document.
How To Hide A Folder In Windows ?
Let me tell you all how to hide a folder in Windows ..... It is a common method and works in almost all version of windows.
1. Select the folder or file which u want to hide.
2. Right Click the folder and Click "Properties".
3. The "Properties" dialog box will open.
4. In the "General" tab, Click the checkbox next to "Hidden" in "Attributes:" Section.
5. Click on Apply.
6. Click OK
7. Your folder or file will get hidden.
1. Select the folder or file which u want to hide.
2. Right Click the folder and Click "Properties".
3. The "Properties" dialog box will open.
4. In the "General" tab, Click the checkbox next to "Hidden" in "Attributes:" Section.
5. Click on Apply.
6. Click OK
7. Your folder or file will get hidden.
How To Create A New Folder ?
This is one of the simplest thing in computer i.e. to make a new folder with the name of your choice. The same steps can be used to create a Shortcut, Contact, Text Document, Briefcase Etc.
Steps:-
1. Open the location where you want to create a New Folder. For E.g. Desktop
2. Right Click on the blank area.
3. Point the cursor to "New"option.
4. Click on "Folder".
5. Anew folder will be created at your specified location.
6. Rename it according to your wish.
Steps:-
1. Open the location where you want to create a New Folder. For E.g. Desktop
2. Right Click on the blank area.
3. Point the cursor to "New"option.
4. Click on "Folder".
5. Anew folder will be created at your specified location.
6. Rename it according to your wish.