Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


DOS Shortcuts in NT

Keywords: 	 PIF NT shortcut LNK

Question:

How do I create a PIF file in NT?

Answer:

To make your shortcut in NT, and make sure it opens in a regular window (rather than full screen):
  1. Right click on CMD.EXE.

  2. Choose "Create a Shortcut..."

  3. Right click on the newly created shortcut and choose Properties.

  4. Under Shortcut tab, make sure it's set to Run as a normal window.

  5. Under Options tab, make sure it's set to run as a Window rather than Full Screen.

  6. The name of the new shortfile (which you can see in the DOS console - you will not be able to see it in Explorer) is "CMD.EXE.LNK".

  7. To run the LNK file:
	Run ("C:\PATHTO\CMD.EXE.LNK", "")

Article ID:   W14351
Filename:   DOS Shortcuts in NT.txt