See
Re: Running fpd2.6 EXE under WinXP Thread #
968102 Message #
982818>We have one old executable created in Foxpro for DOS. Now when we are running this executable in windows XP OS it works fine but I face following problem.
>
>command window is occupying full screen but the program occupies half the screen only.
>
>I created a batch file on the desktop which has command d:\mydir\myprg -t
>the program occupies the full window but the window size which gets opened when I double click on this batch file (which is on desktop) is not of full size. I have to press ALT + ENTER to make the window maximized. When I right click on the icon and select the property i don't get any seetings which can allow me to make the window maximize.
>
>But the command window which I open has properties when clicked on top left window and this properties has "Display Option" 1. window 2. Full Screen. When selected Full Screen and clicked on OK button I get another popup which has apply property which has option 1. apply property to current window only 2. Save properties for future windows with same title. when selected the second option and click on OK the program works fine. But I want to know how can I do this programatically 'cos I am told to make installabe CD (Auto executable) and should create an icon automatically on the desktop of the user who is installing the CD. I am just creating a batch file which creates myprg directory on C drive and unzips the executable along with the dbf structures.
>
>I also want to know how to create a icon on the desktop.
>
>I also want to know how can I find out that the user has the Windows XP operating system from batch file.
>
>I also want to know how to run the batch file automatically the moment user inserts the CD.
>
>Thanks in Advance.
>
>regards
>
>Ash
--sb--