General discussion

Locked

Shortcut properties of a batch file

By choy.waigiat ·
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,

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by softcorp.us In reply to Shortcut properties of a ...

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

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

Collapse -

by choy.waigiat In reply to

Poster rated this answer.

Collapse -

by Blackcurrant In reply to Shortcut properties of a ...

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.

Collapse -

by choy.waigiat In reply to

Poster rated this answer.

Collapse -

by choy.waigiat In reply to Shortcut properties of a ...

This question was closed by the author

Back to Desktop Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums