• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

Right click option

Hello,
I have created a .bat file which invokes a application which is made using foxpro2.6 (so it will run in dos mode) now when i run it in win 98 i can right click on my .bat file and then from property i can force it to run in full screen mode, but in windows 2000 i cannot see any option for full screen after right clicking and choosing properties.

Then i did following:

I have forced command and cmd to open in full screen only, if i open them then they open in full screen but when i double click my .bat file it also opens in full screen but application runs in half screen only. while in case of win 98 it automatically runs in full screen. That is the screen size of foxpro application automatically increases.
I want this in case of windows 2000 server also please help me out.
0
bmunshi
Asked:
bmunshi
  • 2
1 Solution
 
PublicFatalityCommented:
OK, heres the easiest way, instea dof runnning the batch file diretly you should create a shortcut to it!  Now under the shortcut properties set it to full screen.  Now heres thepart i think your stuck on.  By default windows 2000 and XP have a back log buffer, you need to set the buffer size form 300 to 25 lines.  This will set the buffer to one screen length and automatically stop the half screen incident.  Onanother note you can set the dos screensize thorugh the properties or use this command in your batch file:

mode CON: COLS=80 LINES=25

This command will not change the buffer size so you will still have to do that yourself.  Hope this helps

Kris
0
 
bmunshiAuthor Commented:
I have tried that and this works fine but again i am using citrix on the same system which can call only executable file (.exe, .bat), not the shortcuts.
0
 
PublicFatalityCommented:
hmmm, can you use the batch file to call a shortcut, as in a:

start c:\mypath\myshorcut.lnk

thenyou can set properties for the shorcut and sitll call it through citrix?

Kris
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now