Discussion Locked

Shortcut properties of a batch file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I created a shortcut of a batch file in the windows XP professional SP2 desktop.

I right click on the shortcut and select properties. The properties show only General,Shortcut,Compatibility,Security. I want it to show the font size,memory,layout,screen size etc..

Anyone can help?

thanks and regards,

5 replies

by softcorp.us

Narrative:
Create a shortcut to the command processor and pass the name of your batch file as an argument to be executed. A shortcut to the command processor can specify font and layout. Memory cannot manipulated but you should not need to manipulate it on Windows XP just to run a batch file. Note: To adjust memory for a old Win16 program, the Memory tab is available on the Properties page for the Win16 EXE file.

Steps:
1. Create a shortcut to cmd.exe (it's in system32).
2. Open Properites for the shortcut.
3. On the "Shortcut" tab, adjust the "Target". Add the following values to the end of the line. This tells cmd.exe to run the specified batch file.

/k

Target example:

c:\windows\system32\cmd.exe /k "c:\mybatchfile.bat"

More Information:
To see the full list of cmd.exe options:

cmd.exe /?

Does this help?

-----Steve Jackson

CEO
Software Corporation (Softcorp)
http://www.softcorp.us/softclock
Live time of day in cities around the world

by blackcurrant

Hi

You only get those settings when you create a shortcut to a program that runs in DOS mode. For example, old games like the original Duke Nukem or Commander Keen were designed to run under MS-DOS. If you create a shortcut to one of these you will get all the tabs you describe.

However, if you create a shortcut to a program designed to run under Windows, these options are not available - they are already set in Control Panel>Display and apply to every Windows Program.

This discussion is closed to new replies.