|
| 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. |