Translate

Sunday, 9 August 2015

How to ping multiple IP's simultaneously using batch file

 Ping multiple IP's using single batch file

Create a Batch File:

1. Open up Notepad and type your IP Address and save it as Filename.bat (test.bat)
Eg:-  
ping 192.168.2.1
ping 192.168.2.4
ping 192.168.2.5
ping 192.168.2.8






2.Goto cmd and select the batch file location
eg:- batch is in desktop means c:\Users\Admin\Desktop>










3. Enter the following command:

filename.bat >C:\Users\Trident\Desktop\output.txt


Eg:- C:\Users\Trident\Desktop>test.bat >C:\Users\Trident\Desktop\output.txt  then hit enter wait few minutes to get the result. Output will be stored in given location. output location is C:\Users\Trident\Desktop\output.txt.




4. Output will be stored in Text formate in desktop 

Friday, 9 January 2015

Windows Run Commands(.cpl) & (.msc) Shortcuts

Windows Run Commands

Start Run commands:
To get to Control Panel directly:
Start->Run-> Control
Accessibility:  access.cpl
Add/Remove Programs:  appwiz.cpl
Date and Time:  timedate.cpl
Display:  desk.cpl 
HardwareWizard:  hdwwiz.cpl
International and Regional:  intl.cpl
Internet Settings:  inetcpl.cpl
Joystick:  joy.cpl
Mouse and Keyboard:  main.cpl
Sound & Multimedia:  mmsys.cpl
Modem & Phone:  modem.cpl
Network and connectivity:  ncpa.cpl
Power Management:  powercfg.cpl
Scanner & Camera:  sticpl.cpl
Server Management:  srvmgr.cpl
System:  sysdm.cpl
Telephony:  telephon.cpl
Direct X Control Panel (If Installed):  directx.cpl
Windows Firewall:  firewall.cpl

                              Some MSC Shortcuts 

compmgmt.msc:  Computer management
devmgmt.msc:  Device manager
diskmgmt.msc:  Disk management
dfrg.msc:  Disk defrag
eventvwr.msc:  Event viewer
eventvwr.exe:  \\computername View the Event Log at a remote computer
fsmgmt.msc:  Shared folders
gpedit.msc:  Group policies
lusrmgr.msc:  Local users and groups
perfmon.msc: Performance monitor
rsop.msc:  Resultant set of policies
secpol.msc:  Local security settings
services.msc:  Various Services 


Miscellaneous:

Create an IPCONFIG text file on your Desktop
Start --> Run--> cmd /c ipconfig /all >Desktop\ipconfig.txt < ok>

This works to find install date of Windows
Start-->Run-->CMD-->enter
"systeminfo | find /i "install date" -->enter

Enviromentals:

%Appdata%:C:\Documents and Settings\username\Application Data
%Clientname%  :Console
%CommonProgramFiles%:C:\Program Files\Common Files
%Computername%  :Computername
%ComSpec%  :C:\WINDOWS\system32\cmd.exe
%Homedrive%  :C:
%Homepath%  :\Documents and Settings\username
%ProgramFiles%  :C:\Program Files
%Sessionname%  :Console
%SystemDrive%  :C:
%SystemRoot%  :C:\WINDOWS
%Allusersprofile%  :C:\Documents and Settings\All Users
%Temp%  :C:\DOCUME~1\username\LOCALS~1\Temp
%Userdomain%  :Domain Name
%Username%  :username
%Userprofile% :C:\Documents and Settings\username
%windir%  :C:\WINDOWS 


Some Common commands:
Calculator: calc
Character Map:  charmap
Check Disk Utility:  chkdsk
Direct X Troubleshooter:   dxdiag
Disk Cleanup Utility:  cleanmgr
Disk Partition Manager:  diskpart
Display Properties (w/Appearance Tab Preselected):  control color
Display Properties:  control desktop
Driver Verifier Utility:  verifier
Folders Properties:  control folders
Fonts Folder:  fonts
Fonts:  control fonts
Internet Explorer:  iexplore
IP Configuration (Release All Connections):  ipconfig /release 
IP Configuration (Renew All Connections  ipconfig /renew
Local Users and Groups:  lusrmgr.msc
Microsoft Powerpoint:  powerpnt
Microsoft Paint:  mspaint
On Screen Keyboard:  osk
Registry Editor:  regedit
Registry Editor:  regedit32 
Remote Access Phonebook:  rasphone
Remote Desktop:  mstsc
Task Manager:  taskmgr
Windows Update Launches:  wupdmgr
Windows Version:  winver
Wordpad:   write 

Monday, 4 August 2014

How to view hidden files in USB drive

To view Hidden files on usb pendrive 


Click on "Start" -->Run --> type cmd and press Enter. 
Here I assume your pendrive drive letter as G: 
Enter this command :attrib -h -r -s /s /d g:\*.* 
You can copy the above command --> Right-click in the Command Prompt and paste it. 
Note : Replace the letter g with your pen drive letter.
Now check for your files. 

Tuesday, 1 July 2014

Create your own run commands


Steps to Create run commands of your own

Step 1: The first step is to select the software or application for which you want to make custom Run command. For example, let us consider Google Chrome as the example here. Remember, you can choose any application other than which is already there in the Run command.

Step 2: In the second step, right click on the desktop of your computer system and make a new shortcut.
Right click > New > Shortcut

Step 3: As you select the Shortcut option in the 2nd Step, it will open up a dialog box. And, the dialog box will ask you path of the application or software for which you want to create the Run command.

Step 4: Now, you need to browse through the files and choose the one that shows “chrome.exe”. Well, it is quite obvious that all the executable files can be found in the C drive (or wherever the Operating System has been installed), inside the folder “Program Files”. For example, “C:\Program Files\Google Chrome\chrome.exe

Step 5: Once you are done with Step number 4, just click on “Next” button and simply provide a relative name to that shortcut. Remember, the same name will be used later in the Run command.
For example, “GC” for Google Chrome

Step 6: Now, click on the “Finish” button. Once it is done, an icon related to that application or software will show up on your computer’s screen. It means that the process of creating shortcut has been done successfully.

Step 7: In this step, just cut and paste that recently made shortcut icon into your computer’s root drive, in its Windows folder.
For example, C:\Windows, Make sure you are the administrator of the computer or have its password.

Step 8: Now, you are done with the set up and can run the application through Run Command. Just go to Run and enter the keyword “GC”, and Google Chrome will begin executing.
 
 

VLC: Fix unsynced audio and subtitles


Fix unsynced audio and subtitles In the popular media player VLC, if your audio loses sync with the video or subtitles, there is an easy way to fix this. Simply pressing J or K will move the audio forward or backwards. Similarly, to sync the subtitles you can press H or G.




Hide Files or Folders Using Command Prompt

Hide Files or Folders Using Command Prompt



For that you need to follow the following instructions:
  1. Press windowkey+R : Run command dialog box appears.
  2. Now type "cmd" and hit enter. A command prompt window displays.
  3. Now type "attrib +s +h E:\collegephotos" and hit enter.
  4. The folder "collegephotos" will be hidden (Note: It cannot be viewed by any search options)

    (To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h')
  5. To unlock Type "attrib -s -h E:\collegephotos"

Convert Any Document or Web Page to PDF

Convert Any Document or Web Page to PDF

Somebody just told you that you need to have Adobe Acrobat (Writer) to create a PDF file? Guess what, you can get away from that pricey piece of software if you just need to convert some documents to pdf, without a need of fancy editing the pdf document.
Here's how. Thanks to the BullZip, who provides a Free Pdf printer. With this free tool, you can simply "print out" your document or webpage to a pdf file, just about the same way as you print it out to a printer.
You can visit BullZip.com for more information about the software.

Here the direct link to BullZip downloads page: Downloads
  1. To get started, first follow the link above and download Free Pdf Printer from BullZip, then install it to your computer.
  2. Once you're done, you might need to close the program (or the web browser) which you're currently viewing the document. This helps refreshing the list of available printers on your computer.
  3. Once you get back to the document you want to convert, perform the same steps are you print out the document, i.e. File > Print ...
  4. When you see the Print window pop-up, select "Bullzip PDF Printer" under "Printers", then click "OK".
  5. BullZip PDF Printer will then start to analyze your document and display a new pop-up window, where you can direct it to the location you want to save the pdf file.
  6. Follow the pop-up windows. The PDF document is created!