If you enter the command to copy the files in the second line (fist If you don't take such backups, you can have a mapped drive to a Windows 7 drive in XP, and include a command to copy all your Foxpro data to the Windows 7 disk at the end of the script. Will include the XP vhd file so there is no need to backup files in XP separately. However, if you make a full backup of your Windows 7 disk, that However, none of them are straight forward unfortunately. Despite Bob's comment, the black console window still appear even when select 'run minimized', in my case too.Īs far as the backups go, there are a few solutions I can suggest selection would depend on the amount of data and the way you backup. Unfortunately I don't have access to Foxpro to have a look, but shortcuts to cmd.exe (which I thought is theĬlosest to what you do) worked fine and stayed. Yes, I think you have to settle with something 'less than ideal' :-) But keep trying with different ways of running Foxpro and creating shortcut. I gave more details on how to create a mapped network drive to Windows 7 disk in post This works for other programs, so there is no reason not to work for foxpro.įor your (3), create a mapped network drive in XP to the windows 7 disk you want to use, and store the batch file there and create a cmd file, and store it in the folder 'C:\documentsĪnd settings\XPmuser\my documents\cb', and create a shortcut to that batch file in all users program folder. You can justĬopy the same command line used (that is "c:\program files\fpw26\foxprow.exe") to a. cmd file) to run foxpro and store it in that folder, and then create a shortcut to that batch file. So one solution is to keep the target in the folder where you want to have the data files. I don't have Foxpro to try, but that's what other programs did. It looks like Windows XP Mode always starts the virtual application in the directory where executable is. I've tried filling in both XP Mode and Windowsħ directory paths under "Start In" in the shortcut's properties on the Windows 7 desktop, but none of them seem to be getting passed to the application within XP Mode.ġ) Is it possible to pass a "Start In" directory path from the shortcut on the Windows 7 desktop to the XP Mode application?Ģ) If so, how do I need to structure the path so that it translates correctly to the path within the XP virtual PC as described above?ģ) Alternatively, would it be possible to place my directory of data files and scripts in a path on the Windows 7 PC? If so, how would I pass a "Start In" path to Foxpro within the XP Mode PC so that it adopts this as its default However, it does not recognize the "Start In" directory path, and starts in its own program directory. When I click on this shortcut on the Windows 7 desktop, Foxpro itself does start. "%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\VMCPropertyHandler.dll,LaunchVMSal "Windows XP Mode" "||74b205f4" "Foxpro" When I moved a copy of the shortcut here, the "Target" path became: However, I would prefer to launch the program with a shortcut from the Windows 7 desktop. When I click on this shortcut, Foxpro starts and initializes itself in the directory for the data files. In the XP Mode virtual PC, I created a shortcut on the desktop under Properties I set the "Target" as "c:\program files\fpw26\foxprow.exe" and set "Start In" as "c:\documents and settings\xpmuser\my documents\cb". In the XP Mode file system, the program files are installed in a directory called c:\program files\fpw26, and all of the scripts and dataįiles are in a directory called c:\documents and settings\xpmuser\my documents\cb. I have an old 16-bit program, Foxpro for Windows 2.6, installed under XP Mode on a Windows 7 Professional PC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |