Command Line Switches. A collection ofand arguments to control some program executables. On this page I will collect command line switches for some program executables. This will make it easier to create reliable "quick- and- dirty" batch files to perform common tasks like printing, file conversion, etcetera without the need to dig into the program's COM object details. Most programs open a file if its full path is specified on the command line without any switches. Find great deals on eBay for Microsoft and microsoft surface. Shop with confidence. You can use Microsoft Office Visio 2007 in conjunction with other 2007 Microsoft Office system programs to share information with others and to import and export. Most files' "Open", "Print" and "Print. To" commands can be found in the registry under HKEY_CLASSES_ROOT, or by examining file associations, the others may require some web searching, or even reading software manuals. Command line switches for: Microsoft Access. Open a Microsoft Access database: msaccess. Database. Open an Access database for exclusive access: msaccess. Database /excl. Open an Access database for read- only access: msaccess. Database /ro. Compact and repair an Access database: msaccess. Original. Database /compact [ Compacted. Version 2.0 of Microsoft's cross-platform,NET pivot changes everything. Join us as we explore.NET Core 2.0, ASP.NET Core 2.0, and.NET Standard 2.0. Database ]If no Compacted. Database is specified, the. Original. Database will be overwritten. Convert a database from a previous Access version to the current version: msaccess. Old. Database /convert New. Database. Sources with more details: Not tested. Back to the top of this page . Acronis True. Image Home. Acronis True. Image Home saves its backup jobs in script files, located in %Program. Data%\Acronis\True. Image. Home\Scripts. Each backup job has to be set up manually, once. Run a backup job: True. Image. Launcher. exe /script: "script_name_without_path_and_without_any_extension"For example, running a DIR command against my Acronis backup scripts folder reveals the following files: Volume in drive C is WINDISK. Volume Serial Number is C0. FF- EE0. 1. Directory of C: \Program. Data\Acronis\True. Image. Home\Scripts. DIR> . 2. 1- 0. DIR> .. 2. C8. E3. F1. D- 1. EA1- A3. 65- 3. 8C3. A4. 7. tib. tis. 1. D1. E7. BA2. F- 7. C- 8. E9. B- 1. 25. C6. 65. 25. tib. tis. File(s) 4. 2. Dir(s) 4. 02. 5. 46. Picking the most recent file, the command to run a backup will be: "%Program. Files%\Acronis\True. Image. Home\True. Image. Launcher. exe" /script: "5. C8. E3. F1. D- 1. EA1- A3. 65- 3. 8C3. A4. 7"Source with more details: Tested with Acronis True. Image Home 2. 01. Microsoft Windows 7 Ultimate SP1 (6. Back to the top of this page . Adobe Reader. Open a PDF file: Acro. Rd. 32. exe Pdf. File. Open a PDF file in a new instance of Adobe Reader: Acro. Rd. 32. exe /N Pdf. File. Open a PDF file at page 7: Acro. Rd. 32. exe /A "page=7=Open. Actions" Pdf. File. Open a PDF file with navigation pane active, zoom out to 5. Acro. Rd. 32. exe /A "zoom=5. Open. Actions& search=batch" Pdf. File. Print a PDF file with dialog: Acro. Rd. 32. exe /P Pdf. File. Print a PDF file silently: Acro. Rd. 32. exe /N /T Pdf. File Printer. Name [ Printer. Driver [ Printer. Port ] ]The last command will open a new Adobe Reader window, print the PDF file and then terminate its window unless that window happens to be the only Adobe Reader window left: at least one Adobe Reader window will be left open. Sources with more details: Tested with Adobe Reader 8. Microsoft Windows XP Professional SP2 (5. Back to the top of this page . AVG Antivirus. Scan and clean a file (scan inside archives and alternate data streams too): avgscanx. Thoroughly scan and clean the entire computer: avgscanx. Run a high priority quick test on the computer, take no action, and report the results including password protected archives: avgscanx. Scan all files in directory d: \datadir, move infected files to the virus vault, report the results: avgscanx. Update virus definitions: avgupd. Notes: (1)Use avgscana. Intel 6. 4 bits processors. (2)Return codes: 0: everything is o. AVG corrupted. 9: double extension. Sources with more details: Tested with AVG Antivirus version 8. Microsoft Windows XP Professional SP3 (5. Back to the top of this page . CDBurner. XPOpen a CDBurner. XP compilation file: cdbxp. Cdbxp. Compilation. File. List all CD/DVD writers: cdbxpcmd. Eject the disk in the first CD/DVD writer (device 0): cdbxpcmd. Load the disk in the first CD/DVD writer (device 0): cdbxpcmd. Erase the disk in the first CD/DVD writer (device 0): cdbxpcmd. Unfortunately, so far, I haven't been able to burn a CD with cdbxpcmd. Source with more details: Tested with CDBurner. XP Pro 4. 1. 1. 6. Microsoft Windows XP Professional SP2 (5. Back to the top of this page . Digital Photo Professional. Back to the top of this page . Excel. Open an Excel spreadsheet: excel. Excel. Spreadsheet. Open an Excel spreadsheet in read- only mode: excel. Excel. Spreadsheet. Open an Excel spreadsheet in safe mode: excel. Excel. Spreadsheetor: excel. Excel. Spreadsheet. Sources with more details: Not tested. Back to the top of this page . Mozilla Firefox. Open an url in the browser: firefox. Open new private window: firefox. Note: Won't work if another instance of Firefox is running. Open an url in a new tab in the browser: firefox. Open an url in a new browser window: firefox. Search using Firefox' default search engine: firefox. Make Firefox the default browser: firefox. Default. Browser. Sources with more details: Note: You may want to experiment with these switches. On some systems, besides opening a specified URL, I couldn't get any of these switches working. This may have be caused by one or more add- ons, or it may not.. Tested with Mozilla Firefox 3. Microsoft Windows 7 SP1 (6. Back to the top of this page . Foxit Reader. Open a PDF file: "Foxit. Reader. exe" Pdf. File. Open a PDF file at page 7, zoom factor 7. Foxit. Reader. exe" Pdf. File /A page=7 zoom=7. Make Foxit Reader the default PDF reader: "Foxit. Reader. exe" /register. Print a PDF file silently to the default printer: "Foxit. Reader. exe" /p Pdf. File. Print a PDF file silently to an alternative printer: "Foxit. Reader. exe" /t Pdf. File Printer. Name. The next 2 undocumented switches were discovered by Wolfgang Eitel with the aid of Sys. Internals' Process. Monitor (discovered in version 4, still seem to work in version 7): Force Internet Explorer and Firefox to open PDF files inside the browser window: "Foxit. Reader. exe" - displayinbrowser. Force Internet Explorer and Firefox to open PDF files outside the browser window: "Foxit. Reader. exe" - undisplayinbrowser. Note: Switches (e. A) are case sensitive, commands (e. Source with more details: Tested with Foxit Reader 7. Microsoft Windows 7 SP1 (6. Back to the top of this page . Internet Explorer. Open an URL in Internet Explorer: iexplore. Open Internet Explorer without add- ons (IE 7 and later versions only): iexplore. Open Internet Explorer with In. Private Browsing set to active (IE 8 and later versions only): iexplore. Open Internet Explorer in Windows Explorer mode (IE 7 and earlier versions only): iexplore. Folder. It is not possible to start a Windows Explorer window with alternate credentials. That is where Internet Explorer's "Explorer mode" comes to the rescue: use RUNAS and IE's - E switch to start an Explorer look- alike window with alternate credentials. Folder can be in "drive: \path" or UNC format. As of IE 7 this workaround may no longer work, as the - e switch became obsolete (though it still does work on my Windows 7 (6. You may want to try this "direct" approach first: explorer. Folder]This works in Windows 7 (6. Windows versions though. Open Internet Explorer in kiosk mode: iexplore. Source with more details: Tested with Internet Explorer 5. Microsoft Windows 2. XP Professional, and with Internet Explorer 8 on Microsoft Windows 7 RC (6. Back to the top of this page . Irfan. View. Open a graphics file: i_view. Graphics. File. Print a graphics file to the default printer: i_view. Graphics. File /print. Print a graphics file to any printer: i_view. Graphics. File /print="Printer. Name"Convert a JPG file to TIFF: i_view. File. Name. jpg /convert=File. Name. tif. Convert a JPG file to TIFF, and resize it to 8. File. Name. jpg /resize=(8. File. Name. tif. Scan and print a page: i_view. Play selected JPG files as a slideshow: i_view. Capture the screen and save it as C: \TEST. JPG: i_view. 32. Note: All switches must be in lower case. Sources with more details: i_options. Irfan. View's program directory)Irfan. View help file (HH. EXE "mk: @MSITStore: C: \Program%2. Files\Irfan. View\i_view. Tested with Irfan. View 4. 1. 0 on Microsoft Windows XP Professional SP2 (5. Back to the top of this page . ISO Writer. Burn ISO file to default CD/DVD writer at maximum speed, eject after writing ISOWriter. Microsoft XPS | What is it & how to create, view, convert or print files. XPS is the abbreviation of XML Paper Specification. It is a page description language which can describe a single page or a document containing multiple pages. The description includes all the text and graphics that appear on the page(s). Like other page description languages such as PDF, page elements are defined independently of a particular operating system, printer or viewing application. The page’s appearance is consistent regardless of the specific printer or viewer used. XPS files can be recognized by their . On a Windows computer, the file icon is a small representation of the content of the first page with the blue XPS glider icon in the lower right corner. Example of an XPS icon. XPS is closely linked to the Windows operating system, as it is a part of its underlying graphics architecture since Microsoft Vista. It is probably no coincidence that Apple use its main competitor, PDF, as the graphics model within OS X. The goal of both technologies is offering WYSIWYG (What you see is what you get) when viewing and printing documents. Within Windows, a language called XAML is used to describe how objects such as text need to appear on- screen. XPS is a subset of this XAML language, specifically geared towards a fixed page format so that text cannot reflow when it is sent to different devices. In previous Microsoft operating systems, a technology called GDI was used. Compared to GDI, XPS is graphically more sophisticated and faster when printing complex objects such as transparencies or blends. There is less need for software vendors to implement their own printing technology to get around limitations (as was often the case with GDI). What can you do with XPSXPS can be used as a document sharing format, similar to PDF. XPS can be used as a printer command language. Printer manufacturers can create XPS compatible printers. Some of these are already available, such as the Xerox Work. Centre 7. 42. 5 and the Konica Minolta 4. MF. These vendors wisely choose to add support for other languages, such as Postscript or PCL, as well in their devices. This makes sure that the millions of XP, Mac OS X or Linux users can also use these printers. How to create XPS files. As with PDF, there are applications such as Windows Office 2. XPS files. The free Global Graphics g. Doc Creator can convert Office files to XPS (and acts as an XPS printer for other types of applications). In both Vista and Windows XP (with the XPS Essentials Pack installed), it is possible to print to an XPS file. I don’t know why I didn’t get this working on my XP system. On my Windows Vista system it worked fine though. Windows 7 comes with a Microsoft XPS Document Writer printer which can be used to print any document to an XPS file. It is also included in later releases, such as Windows 1. Windows 7 XPS printer icon. I am not aware of any tools to create XPS files on a Mac using OS X. You could create a PDF and somehow convert that to an XPS file but this seems like a rather clumsy and time- consuming way of working. How to view XPS files. Windows 7, 8. 1 & 1. These operating systems ship with XPS Viewer. The application is similar to that of Windows Vista, except for some cosmetic changes and added support for digital signatures. The Viewer application can also be used to edit the document properties and add tags. From Windows 8. 1 onwards you can also use the Microsoft Reader app to view XPS files. It is the Microsoft equivalent of Adobe Reader and can be used to open PDF as well as XPS and TIFF files. It can be downloaded from the Windows store. Windows Vista: Doubleclick a . XPS Viewer plug- in that is built into Internet Explorer. You can also install the XPS Viewer EP from the XPS Essentials Pack. Windows XP and Windows 2. Server: There is a viewer plug- in available for Internet Explorer. You can also download a separate viewer application, called XPS Viewer EP. It is part of the XPS Essentials Pack. There are some other tools around as well, such as the freeware XPS Annotator, but I never tried any of them. OS X: Mac users can use the Ni. XPS View application which allows them to view, search and print XPS documents efficiently. This application is actually also available for Windows. Uploading files to Google Docs and opening them in your browser is a solution if you are a Docs user and only occasionally need to view XPS files on your Mac. How to edit XPS files. XPS is not meant to be used as a file format for intermediate data that still need to be changed. Like with PDF, you’re not supposed to edit XPS files. Unfortunately, it may sometimes still be necessary. Unfortunately I don’t think there are professional XPS Editors any more. In the early days some companies invested in developing XPS tools but the market never got big enough. XPS compared to PDFXPS and PDF are similar technologies: they can be used to display, share and print paged documents. There are however a number of differences between both systems. PDF has the advantage of being an established standard, especially in the graphic arts market. Lots of people know PDF and own the tools to modify and process PDF files. Most workflows can either handle PDF files or use it as their internal file format. There are clear standards and procedures available to exchange print- ready PDF files. PDF/X and the GWG standards that built on this are perfectly geared towards the printing industry. There are no XPS equivalents. PDF is a true cross- platform solution, with viewers available for a wide range of platforms, going from PDA’s to Macs and PCs and even a lot of Unix/Linux flavors. XPS support is limited outside the Windows ecosystem. XPS, on the other hand, has the advantage of being ‘free’ since support for it is build into Windows since Vista and Microsoft Office since version 2. Even though there are a lot of free PDF viewers, PDF creation or editing tools such as Acrobat Professional cost a lot of money, especially for large organizations that need thousands of copies. Next to the licensing cost, deployment costs also add significantly to the price of implementing PDF. Since XPS support is included in the most popular operating system on the market, both the software and deployment costs can be a lot lower. It took years before decent PDF tools came to the market. Since XPS is XML- based, it is a lot easier to write software for it. Even though PDF currently has the advantage of having the biggest library of software tools, this might change rapidly and XPS tools may, in the long run, be cheaper and more abundantly available than their PDF equivalents. Even though Adobe is a large software company, Microsoft is even bigger and more influential. It will however be an uphill battle to match the popularity of PDF. PDF has a soul mate called JDF, the Job Definition Format, which can be used to describe how a job and the accompanying PDF pages need to be processed. Both JDF (job description) and PDF (job content) files can be bundled in a single mime file. XPS has Print Tickets, a technology that describes how an XPS file needs to be printed. Print Tickets are geared towards office printing whereas JDF is geared towards job handling in graphic arts. Technically it is probably feasible to refer to XPS files in a JDF job but it will probably take years before MIS and prepress vendors will even want to look into this, let alone get it working. XPS and graphic arts. A lot of designers and agencies are still struggling to deliver proper PDF files to printers. Those printers won’t be in a hurry to promote yet another file format. What might happen however is that corporate customers who want to print office style documents demand that printers support XPS. This means that it is worthwhile to know a bit about the standard. Converting XPS files to PDF is probably the best way of dealing with the initial demand. If XPS really takes off, it is highly likely that the big workflow vendors add support for it to their systems. Since Global Graphics worked on XPS, their Harlequin RIPs do offer native support for this standard. Even though XPS supports CMYK, even Microsoft Publisher cannot yet embed CMYK data in an XPS document. Microsoft recommends the use of PDF for data exchange with offset printers. The history of XPSMicrosoft developed XPS in close cooperation with a number of other companies, most notably Global Graphics. The original code name was ‘Metro’.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |