computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,240 tips!

IrfanView 3

Run Irfanview on the Windows XP Command Line

SUMMARY: Start IrfanView in a Windows XP batch file or on the command line.
 
Need to start the IrfanView graphics viewer/editor in a Windows XP batch file that can be run from anywhere? Doing so opens up a wide variety of functions that will be explained in future tips on MalekTips.

1. Start up Notepad. Click "Start" - "Run", enter "notepad" (without quotes) and press ENTER.

2. Key the following into the Notepad window (it should all be on one line):

@"c:\program files\irfanview\i_view32.exe" %*

Note that if IrfanView was installed in a different directory, you should replace the above directory with the one where you installed the software.

3. Save the file to your Windows directory as irfanview.bat. Click "File" - "Save" and enter the following filename:

%WINDIR%\irfanview.bat

4. Press "Save".

Now, if you need to start IrfanView in a batch file or on the Windows XP command line, just enter the command:

irfanview

You can also start IrfanView and automatically load a graphic. For example, the following command would start IrfanView, loading image c:\temp\football.jpg :

irfanview c:\temp\football.jpg


 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 
Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the IrfanView 3 page.

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2008 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums